| Access | Constructor and Description |
|---|---|
| public | DTDIdAttr(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11)
Main constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public DTDAttribute | |
| public int | getValueType()
Overrides com. Returns the value type of this attribute as an enumerated int to match type (CDATA, ...) Note: |
| public boolean | |
| public String | validate(DTDValidatorBase v, char[] cbuf, int start, int end, boolean normalize)
Implements abstract com. Method called by the validator to let the attribute do necessary normalization and/or validation for the value. |
| public void | validateDefault(InputProblemReporter rep, boolean normalize)
Implements abstract com. Method called by the validator to ask attribute to verify that the default it has (if any) is valid for such type. |
| DTDIdAttr | back to summary |
|---|---|
| public DTDIdAttr(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) Main constructor. Note that id attributes can never have default values. Note although ID attributes are not to have default value, this is 'only' a validity constraint, and in dtd-aware-but- not-validating mode it is apparently 'legal' to add default values. | |
| cloneWith | back to summary |
|---|---|
| public DTDAttribute cloneWith(int specIndex) Implements abstract com.
| |
| getValueType | back to summary |
|---|---|
| public int getValueType() Overrides com. Doc from com. Returns the value type of this attribute as an enumerated int to match type (CDATA, ...) Note:
| |
| typeIsId | back to summary |
|---|---|
| public boolean typeIsId() Overrides com.
| |
| validate | back to summary |
|---|---|
| public String validate(DTDValidatorBase v, char[] cbuf, int start, int end, boolean normalize) throws XMLStreamException Implements abstract com. Method called by the validator to let the attribute do necessary normalization and/or validation for the value.
| |
| validateDefault | back to summary |
|---|---|
| public void validateDefault(InputProblemReporter rep, boolean normalize) Implements abstract com. Method called by the validator to ask attribute to verify that the default it has (if any) is valid for such type.
| |