This component requires the following features and properties from the component manager that uses it:
Modifier and Type | Field and Description |
---|---|
private final XMLStringBuffer | |
private final XMLStringBuffer | |
private final XMLStringBuffer |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected String | |
protected boolean | |
protected boolean | isInvalidLiteral(int value)
Overrides com.
|
protected int | Returns: -1 if the value would be unchanged by normalization, otherwise the index of the first whitespace character which would be transformed.Checks whether this string would be unchanged by normalization. |
protected boolean | isValidNameChar(int value)
Overrides com.
|
protected boolean | |
protected boolean | |
protected boolean | |
protected void | normalizeWhitespace(XMLString value)
Overrides com. Normalize whitespace in an XMLString converting all whitespace characters to space characters. |
protected void | normalizeWhitespace(XMLString value, int fromIndex)
Normalize whitespace in an XMLString converting all whitespace characters to space characters. |
protected boolean | Returns: true if the non-normalized and normalized value are the sameNote This method uses fStringBuffer2, anything in it at the time of calling is lost. The XMLString to fill in with the value. value, XMLString The XMLString to fill in with the
non-normalized value. nonNormalizedValue, String The name of the attribute being parsed (for error msgs). atName, boolean true if undeclared entities should be reported as VC violation,
false if undeclared entities should be reported as WFC violation. checkEntities, String The name of element to which this attribute belongs. eleName, boolean The flag indicating whether the content is a namespace URI isNSURI)Scans an attribute value and normalizes whitespace converting all whitespace characters to space characters. |
protected int | Returns: Returns the next character on the stream.Overrides com. Scans element content. |
protected boolean | Returns: True on successNote This method uses fStringBuffer, anything in it at the time of calling is lost. The string to fill in with the public ID literal. literal)Overrides com. Scans public ID literal. |
protected boolean |
fStringBuffer | back to summary |
---|---|
private final XMLStringBuffer fStringBuffer Hides com. String buffer. |
fStringBuffer2 | back to summary |
---|---|
private final XMLStringBuffer fStringBuffer2 Hides com. |
fStringBuffer3 | back to summary |
---|---|
private final XMLStringBuffer fStringBuffer3 Hides com. |
XML11DocumentScannerImpl | back to summary |
---|---|
public XML11DocumentScannerImpl() Default constructor. |
getVersionNotSupportedKey | back to summary |
---|---|
protected String getVersionNotSupportedKey() |
isInvalid | back to summary |
---|---|
protected boolean isInvalid(int value) Overrides com. |
isInvalidLiteral | back to summary |
---|---|
protected boolean isInvalidLiteral(int value) Overrides com. |
isUnchangedByNormalization | back to summary |
---|---|
protected int isUnchangedByNormalization(XMLString value) Checks whether this string would be unchanged by normalization.
|
isValidNameChar | back to summary |
---|---|
protected boolean isValidNameChar(int value) Overrides com. |
isValidNameStartChar | back to summary |
---|---|
protected boolean isValidNameStartChar(int value) Overrides com. |
isValidNameStartHighSurrogate | back to summary |
---|---|
protected boolean isValidNameStartHighSurrogate(int value) Overrides com. |
isValidNCName | back to summary |
---|---|
protected boolean isValidNCName(int value) Overrides com. |
normalizeWhitespace | back to summary |
---|---|
protected void normalizeWhitespace(XMLString value) Overrides com. Normalize whitespace in an XMLString converting all whitespace characters to space characters. |
normalizeWhitespace | back to summary |
---|---|
protected void normalizeWhitespace(XMLString value, int fromIndex) Normalize whitespace in an XMLString converting all whitespace characters to space characters. |
scanAttributeValue | back to summary |
---|---|
protected boolean scanAttributeValue(XMLString value, XMLString nonNormalizedValue, String atName, boolean checkEntities, String eleName, boolean isNSURI) throws IOException, XNIException Scans an attribute value and normalizes whitespace converting all whitespace characters to space characters. [10] AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'"
|
scanContent | back to summary |
---|---|
protected int scanContent(XMLStringBuffer content) throws IOException, XNIException Overrides com. Scans element content.
|
scanPubidLiteral | back to summary |
---|---|
protected boolean scanPubidLiteral(XMLString literal) throws IOException, XNIException Overrides com. Scans public ID literal. [12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'" [13] PubidChar::= #x20 | #xD | #xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%] The returned string is normalized according to the following rule, from http://www.w3.org/TR/REC-xml#dt-pubid: Before a match is attempted, all strings of white space in the public identifier must be normalized to single space characters (#x20), and leading and trailing white space must be removed.
|
versionSupported | back to summary |
---|---|
protected boolean versionSupported(String version) Overrides com. |