Modifier and Type | Field and Description |
---|---|
protected static final String | ENTITY_MANAGER
Property identifier: entity manager. |
protected static final String | ERROR_REPORTER
Property identifier: error reporter. |
protected String | |
protected XMLEntityManager | fEntityManager
Entity manager. |
protected XMLErrorReporter | fErrorReporter
Error reporter. |
private final char[] | |
protected SymbolTable | fSymbolTable
Symbol table. |
private XMLString | |
protected static final String | fVersionSymbol
Symbol: "version". |
protected static final String | |
protected static final String | SYMBOL_TABLE
Property identifier: symbol table. |
private static final char[] |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public short | Returns: short - Constants.XML_VERSION_1_1 if document version 1.1, otherwise Constants.XML_VERSION_1_0This methods scans the XML declaration to find out the version (and provisional encoding) of the document. |
private void | |
public void | |
public void | startDocumentParsing(XMLEntityHandler
- the scanner to use scanner, short - the version of the document (XML 1.1 or XML 1.0). version)Reset the reference to the appropriate scanner given the version of the document and start document scanning. |
ENTITY_MANAGER | back to summary |
---|---|
protected static final String ENTITY_MANAGER Property identifier: entity manager. |
ERROR_REPORTER | back to summary |
---|---|
protected static final String ERROR_REPORTER Property identifier: error reporter. |
fEncoding | back to summary |
---|---|
protected String fEncoding |
fEntityManager | back to summary |
---|---|
protected XMLEntityManager fEntityManager Entity manager. |
fErrorReporter | back to summary |
---|---|
protected XMLErrorReporter fErrorReporter Error reporter. |
fExpectedVersionString | back to summary |
---|---|
private final char[] fExpectedVersionString |
fSymbolTable | back to summary |
---|---|
protected SymbolTable fSymbolTable Symbol table. |
fVersionNum | back to summary |
---|---|
private XMLString fVersionNum |
fVersionSymbol | back to summary |
---|---|
protected static final String fVersionSymbol Symbol: "version". |
fXMLSymbol | back to summary |
---|---|
protected static final String fXMLSymbol |
SYMBOL_TABLE | back to summary |
---|---|
protected static final String SYMBOL_TABLE Property identifier: symbol table. |
XML11_VERSION | back to summary |
---|---|
private static final char[] XML11_VERSION |
XMLVersionDetector | back to summary |
---|---|
public XMLVersionDetector() |
determineDocVersion | back to summary |
---|---|
public short determineDocVersion(XMLInputSource inputSource) throws IOException This methods scans the XML declaration to find out the version (and provisional encoding) of the document. The scanning is doing using XML 1.1 scanner.
|
fixupCurrentEntity | back to summary |
---|---|
private void fixupCurrentEntity(XMLEntityManager manager, char[] scannedChars, int length) |
reset | back to summary |
---|---|
public void reset(XMLComponentManager componentManager) throws XMLConfigurationException
|
startDocumentParsing | back to summary |
---|---|
public void startDocumentParsing(XMLEntityHandler scanner, short version) Reset the reference to the appropriate scanner given the version of the document and start document scanning.
|