public class ParserContext
extends java.lang.Object
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.
Modifier and Type | Field | Description |
---|---|---|
java.util.Map<SchemaDocumentImpl,SchemaDocumentImpl> |
parsedDocuments |
Documents that are parsed already.
|
SchemaSetImpl |
schemaSet |
SchemaSet to which a newly parsed schema is put in.
|
Constructor | Description |
---|---|
ParserContext(XSOMParser owner,
XMLParser parser) |
Modifier and Type | Method | Description |
---|---|---|
AnnotationParserFactory |
getAnnotationParserFactory() |
|
org.xml.sax.EntityResolver |
getEntityResolver() |
|
XSSchemaSet |
getResult() |
|
NGCCRuntimeEx |
newNGCCRuntime() |
|
void |
parse(org.xml.sax.InputSource source) |
Parses a new XML Schema document.
|
public final SchemaSetImpl schemaSet
public final java.util.Map<SchemaDocumentImpl,SchemaDocumentImpl> parsedDocuments
SchemaDocumentImpl
s.
The actual data structure is map from SchemaDocumentImpl
to itself,
so that we can access the SchemaDocumentImpl
itself.public ParserContext(XSOMParser owner, XMLParser parser)
public org.xml.sax.EntityResolver getEntityResolver()
public AnnotationParserFactory getAnnotationParserFactory()
public void parse(org.xml.sax.InputSource source) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XSSchemaSet getResult() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public NGCCRuntimeEx newNGCCRuntime()
Copyright © 2018 Oracle. All rights reserved.