public class ParserContext extends 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 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
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 EntityResolver getEntityResolver()
public AnnotationParserFactory getAnnotationParserFactory()
public void parse(InputSource source) throws SAXException
SAXException
public XSSchemaSet getResult() throws SAXException
SAXException
public NGCCRuntimeEx newNGCCRuntime()
Copyright © 2021 JBoss by Red Hat. All rights reserved.