public class ParserContext extends Object
NGCCRuntimeExs.
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 and Description |
|---|---|
Map<SchemaDocumentImpl,SchemaDocumentImpl> |
parsedDocuments
Documents that are parsed already.
|
SchemaSetImpl |
schemaSet
SchemaSet to which a newly parsed schema is put in.
|
| Constructor and Description |
|---|
ParserContext(XSOMParser owner,
XMLParser parser) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationParserFactory |
getAnnotationParserFactory() |
EntityResolver |
getEntityResolver() |
XSSchemaSet |
getResult() |
NGCCRuntimeEx |
newNGCCRuntime() |
void |
parse(InputSource source)
Parses a new XML Schema document.
|
public final SchemaSetImpl schemaSet
public final Map<SchemaDocumentImpl,SchemaDocumentImpl> parsedDocuments
SchemaDocumentImpls.
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 EntityResolver getEntityResolver()
public AnnotationParserFactory getAnnotationParserFactory()
public void parse(InputSource source) throws SAXException
SAXExceptionpublic XSSchemaSet getResult() throws SAXException
SAXExceptionpublic NGCCRuntimeEx newNGCCRuntime()
Copyright © 2005–2017 Oracle Corporation. All rights reserved.