java.lang.Object | ||||
↳ | org.apache.xerces.impl.XMLScanner | |||
↳ | org.apache.xerces.impl.XMLDocumentFragmentScannerImpl | |||
↳ | org.apache.xerces.impl.XMLDocumentScannerImpl | |||
↳ | org.apache.xerces.impl.XML11DocumentScannerImpl |
Known Direct Subclasses |
This class is responsible for scanning XML document structure and content. The scanner acts as the source for the document information which is communicated to the document handler.
This component requires the following features and properties from the component manager that uses it:
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.impl.XMLDocumentScannerImpl
| |||||||||||
From class
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
| |||||||||||
From class
org.apache.xerces.impl.XMLScanner
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.impl.XMLDocumentScannerImpl
| |||||||||||
From class
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
| |||||||||||
From class
org.apache.xerces.impl.XMLScanner
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Checks whether this string would be unchanged by normalization.
| |||||||||||
Normalize whitespace in an XMLString converting all whitespace
characters to space characters.
| |||||||||||
Normalize whitespace in an XMLString converting all whitespace
characters to space characters.
| |||||||||||
Scans an attribute value and normalizes whitespace converting all
whitespace characters to space characters.
| |||||||||||
Scans element content.
| |||||||||||
Scans public ID literal.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.impl.XMLDocumentScannerImpl
| |||||||||||
From class
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
| |||||||||||
From class
org.apache.xerces.impl.XMLScanner
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.xerces.impl.XMLEntityHandler
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLComponent
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLDocumentScanner
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLDocumentSource
|
Default constructor.
Checks whether this string would be unchanged by normalization.
Normalize whitespace in an XMLString converting all whitespace characters to space characters.
Normalize whitespace in an XMLString converting all whitespace characters to space characters.
Scans an attribute value and normalizes whitespace converting all whitespace characters to space characters. [10] AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'"
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. |
IOException | |
---|---|
XNIException |
Scans element content.
IOException | |
---|---|
XNIException |
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.
literal | The string to fill in with the public ID literal. |
---|
IOException | |
---|---|
XNIException |