DTDAttribute sub-class used for plain vanilla CDATA
valued attributes. Although base class implements most of the methods,
it's better designwise to keep that base class abstract and have
separate CDATA type as well.
| Access | Constructor and Description |
|---|---|
| public | DTDCdataAttr(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11)
|
| Modifier and Type | Method and Description |
|---|---|
| public DTDAttribute | |
| public String | normalize(DTDValidatorBase
Validator that invoked normalization v, char[] cbuf, int start, int end)Overrides com. Method called when no validation is to be done, but value is still to be normalized as much as it can. |
| public void | normalizeDefault()
Overrides com. Method called to do initial normalization of the default attribute value, without trying to verify its validity. |
| public String | validate(DTDValidatorBase v, char[] cbuf, int start, int end, boolean normalize)
Implements abstract com.
|
| public void | validateDefault(InputProblemReporter rep, boolean normalize)
Implements abstract com. Method called by the |
| DTDCdataAttr | back to summary |
|---|---|
| public DTDCdataAttr(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) | |
| cloneWith | back to summary |
|---|---|
| public DTDAttribute cloneWith(int specIndex) Implements abstract com.
| |
| normalize | back to summary |
|---|---|
| public String normalize(DTDValidatorBase v, char[] cbuf, int start, int end) Overrides com. Doc from com. Method called when no validation is to be done, but value is still to be normalized as much as it can. What this usually means is that all regular space (parser earlier on converts other white space to spaces, except for specific character entities; and these special cases are NOT to be normalized). The only exception is that CDATA will not do any normalization. But for now, let's implement basic functionality that CDTA instance will override
| |
| normalizeDefault | back to summary |
|---|---|
| public void normalizeDefault() Overrides com. Doc from com. Method called to do initial normalization of the default attribute value, without trying to verify its validity. Thus, it's called independent of whether we are fully validating the document.
| |
| validate | back to summary |
|---|---|
| public String validate(DTDValidatorBase v, char[] cbuf, int start, int end, boolean normalize) throws XMLValidationException Implements abstract com.
| |
| validateDefault | back to summary |
|---|---|
| public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLStreamException Implements abstract com. Doc from com. Method called by the
| |