org.apache.xerces.impl
public class XML11DocumentScannerImpl extends XMLDocumentScannerImpl
This component requires the following features and properties from the component manager that uses it:
Version: $Id: XML11DocumentScannerImpl.java,v 1.22 2004/10/04 21:45:49 mrglavas Exp $
Constructor Summary | |
---|---|
XML11DocumentScannerImpl() Default constructor. |
Method Summary | |
---|---|
protected String | getVersionNotSupportedKey() |
protected boolean | isInvalid(int value) |
protected boolean | isInvalidLiteral(int value) |
protected int | isUnchangedByNormalization(XMLString value)
Checks whether this string would be unchanged by normalization.
|
protected boolean | isValidNameChar(int value) |
protected boolean | isValidNameStartChar(int value) |
protected boolean | isValidNameStartHighSurrogate(int value) |
protected boolean | isValidNCName(int value) |
protected void | normalizeWhitespace(XMLString value)
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 | scanAttributeValue(XMLString value, XMLString nonNormalizedValue, String atName, boolean checkEntities, String eleName)
Scans an attribute value and normalizes whitespace converting all
whitespace characters to space characters.
|
protected int | scanContent()
Scans element content.
|
protected boolean | scanPubidLiteral(XMLString literal)
Scans public ID literal.
|
protected boolean | versionSupported(String version) |
Returns: -1 if the value would be unchanged by normalization, otherwise the index of the first whitespace character which would be transformed.
Parameters: value The XMLString to fill in with the value. nonNormalizedValue The XMLString to fill in with the non-normalized value. atName The name of the attribute being parsed (for error msgs). checkEntities true if undeclared entities should be reported as VC violation, false if undeclared entities should be reported as WFC violation. eleName The name of element to which this attribute belongs.
Returns: true if the non-normalized and normalized value are the same Note: This method uses fStringBuffer2, anything in it at the time of calling is lost.
Returns: Returns the next character on the stream.
Parameters: literal The string to fill in with the public ID literal.
Returns: True on success. Note: This method uses fStringBuffer, anything in it at the time of calling is lost.