Save This Page
Home » openjdk-7 » com.sun.org.apache.xerces.internal » impl » [javadoc | source]
com.sun.org.apache.xerces.internal.impl
public class: XMLVersionDetector [javadoc | source]
java.lang.Object
   com.sun.org.apache.xerces.internal.impl.XMLVersionDetector
This class scans the version of the document to determine which scanner to use: XML 1.1 or XML 1.0. The version is scanned using XML 1.1. scanner.
Field Summary
protected static final  String SYMBOL_TABLE    Property identifier: symbol table. 
protected static final  String ERROR_REPORTER    Property identifier: error reporter. 
protected static final  String ENTITY_MANAGER    Property identifier: entity manager. 
protected static final  String fVersionSymbol    Symbol: "version". 
protected static final  String fXMLSymbol     
protected  SymbolTable fSymbolTable    Symbol table. 
protected  XMLErrorReporter fErrorReporter    Error reporter. 
protected  XMLEntityManager fEntityManager    Entity manager. 
protected  String fEncoding     
Method from com.sun.org.apache.xerces.internal.impl.XMLVersionDetector Summary:
determineDocVersion,   reset,   startDocumentParsing
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.org.apache.xerces.internal.impl.XMLVersionDetector Detail:
 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.
 public  void reset(XMLComponentManager componentManager) throws XMLConfigurationException 
 public  void startDocumentParsing(XMLEntityHandler scanner,
    short version) 
    Reset the reference to the appropriate scanner given the version of the document and start document scanning.