Save This Page
Home » openjdk-7 » com.sun.xml.internal » xsom » impl » parser » [javadoc | source]
com.sun.xml.internal.xsom.impl.parser
public class: ParserContext [javadoc | source]
java.lang.Object
   com.sun.xml.internal.xsom.impl.parser.ParserContext
Provides context information to be used by NGCCRuntimeEx s.

This class does the actual processing for XSOMParser , but to hide the details from the public API, this class in a different package.

Field Summary
public final  SchemaSetImpl schemaSet    SchemaSet to which a newly parsed schema is put in. 
final  XMLParser parser     
public final  Map parsedDocuments    Documents that are parsed already. Used to avoid cyclic inclusion/double inclusion of schemas. Set of SchemaDocumentImpl s. The actual data structure is map from SchemaDocumentImpl to itself, so that we can access the SchemaDocumentImpl itself. 
final  PatcherManager patcherManager    PatchManager implementation, which is accessible only from NGCCRuntimEx. 
final  ErrorHandler errorHandler    ErrorHandler proxy to turn on the hadError flag when an error is found. 
final  ErrorHandler noopHandler    ErrorHandler that does nothing. 
Constructor:
 public ParserContext(XSOMParser owner,
    XMLParser parser) 
Method from com.sun.xml.internal.xsom.impl.parser.ParserContext Summary:
getAnnotationParserFactory,   getEntityResolver,   getResult,   newNGCCRuntime,   parse,   setErrorFlag
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.xml.internal.xsom.impl.parser.ParserContext Detail:
 public AnnotationParserFactory getAnnotationParserFactory() 
 public EntityResolver getEntityResolver() 
 public XSSchemaSet getResult() throws SAXException 
 public NGCCRuntimeEx newNGCCRuntime() 
 public  void parse(InputSource source) throws SAXException 
    Parses a new XML Schema document.
  void setErrorFlag() 
    Turns on the error flag.