StAXSchemaParser reads StAX events, converts them into XNI events and passes them directly to the SchemaDOMParser.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | CHUNK_MASK
Chunk mask (CHUNK_SIZE - 1). |
| private static final int | CHUNK_SIZE
Chunk size (1024). |
| private final QName | |
| private final XMLAttributesImpl | |
| private final char[] | fCharBuffer
Array for holding character data. |
| private final List | |
| private int | |
| private final QName | fElementQName
Fields for start element, end element and characters. |
| private final StAXLocationWrapper | fLocationWrapper
XML Locator wrapper for SAX. |
| private final JAXPNamespaceContextWrapper | fNamespaceContext
The namespace context of this document: stores namespaces in scope |
| private SchemaDOMParser | fSchemaDOMParser
SchemaDOMParser, events will be delegated to SchemaDOMParser to pass |
| private final XMLStringBuffer | |
| private SymbolTable | fSymbolTable
Symbol table |
| private final XMLString |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| pack-priv final void | |
| private void | |
| private void | |
| public Document | |
| public void | |
| public void | |
| public void | |
| private void | sendCharactersToSchemaParser(String str, boolean whitespace)
Send characters to the validator in CHUNK_SIZE character chunks. |
| CHUNK_MASK | back to summary |
|---|---|
| private static final int CHUNK_MASK Chunk mask (CHUNK_SIZE - 1). | |
| CHUNK_SIZE | back to summary |
|---|---|
| private static final int CHUNK_SIZE Chunk size (1024). | |
| fAttributeQName | back to summary |
|---|---|
| private final QName fAttributeQName | |
| fAttributes | back to summary |
|---|---|
| private final XMLAttributesImpl fAttributes | |
| fCharBuffer | back to summary |
|---|---|
| private final char[] fCharBuffer Array for holding character data. | |
| fDeclaredPrefixes | back to summary |
|---|---|
| private final List<String> fDeclaredPrefixes | |
| fDepth | back to summary |
|---|---|
| private int fDepth | |
| fElementQName | back to summary |
|---|---|
| private final QName fElementQName Fields for start element, end element and characters. | |
| fLocationWrapper | back to summary |
|---|---|
| private final StAXLocationWrapper fLocationWrapper XML Locator wrapper for SAX. | |
| fNamespaceContext | back to summary |
|---|---|
| private final JAXPNamespaceContextWrapper fNamespaceContext The namespace context of this document: stores namespaces in scope | |
| fSchemaDOMParser | back to summary |
|---|---|
| private SchemaDOMParser fSchemaDOMParser SchemaDOMParser, events will be delegated to SchemaDOMParser to pass | |
| fStringBuffer | back to summary |
|---|---|
| private final XMLStringBuffer fStringBuffer | |
| fSymbolTable | back to summary |
|---|---|
| private SymbolTable fSymbolTable Symbol table | |
| fTempString | back to summary |
|---|---|
| private final XMLString fTempString | |
| StAXSchemaParser | back to summary |
|---|---|
| public StAXSchemaParser() | |
| addNamespaceDeclarations | back to summary |
|---|---|
| private void addNamespaceDeclarations() | |
| fillDeclaredPrefixes | back to summary |
|---|---|
| private void fillDeclaredPrefixes(StartElement event) Fills in the list of declared prefixes. | |
| fillDeclaredPrefixes | back to summary |
|---|---|
| private void fillDeclaredPrefixes(EndElement event) Fills in the list of declared prefixes. | |
| fillDeclaredPrefixes | back to summary |
|---|---|
| private void fillDeclaredPrefixes(Iterator<Namespace> namespaces) Fills in the list of declared prefixes. | |
| fillDeclaredPrefixes | back to summary |
|---|---|
| private void fillDeclaredPrefixes(XMLStreamReader reader) Fills in the list of declared prefixes. | |
| fillProcessingInstruction | back to summary |
|---|---|
| private void fillProcessingInstruction(String data) | |
| fillQName | back to summary |
|---|---|
| private void fillQName(QName toFill, QName toCopy) Fills in a QName object. | |
| fillQName | back to summary |
|---|---|
| pack-priv final void fillQName(QName toFill, String uri, String localpart, String prefix) Fills in a QName object. | |
| fillXMLAttributes | back to summary |
|---|---|
| private void fillXMLAttributes(StartElement event) | |
| fillXMLAttributes | back to summary |
|---|---|
| private void fillXMLAttributes(XMLStreamReader input) | |
| getDocument | back to summary |
|---|---|
| public Document getDocument() | |
| parse | back to summary |
|---|---|
| public void parse(XMLEventReader input) throws XMLStreamException, XNIException | |
| parse | back to summary |
|---|---|
| public void parse(XMLStreamReader input) throws XMLStreamException, XNIException | |
| reset | back to summary |
|---|---|
| public void reset(SchemaDOMParser schemaDOMParser, SymbolTable symbolTable) | |
| sendCharactersToSchemaParser | back to summary |
|---|---|
| private void sendCharactersToSchemaParser(String str, boolean whitespace) Send characters to the validator in CHUNK_SIZE character chunks. | |