Package com.sun.xml.xsom.impl.parser
Class ParserContext
java.lang.Object
com.sun.xml.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
FieldsModifier and TypeFieldDescription(package private) final ErrorHandler
ErrorHandler proxy to turn on the hadError flag when an error is found.private boolean
Once an error is detected, this flag is set to true.(package private) final ErrorHandler
ErrorHandler
that does nothing.private final XSOMParser
Documents that are parsed already.(package private) final XMLParser
(package private) final PatcherManager
PatchManager implementation, which is accessible only from NGCCRuntimEx.final SchemaSetImpl
SchemaSet to which a newly parsed schema is put in. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
parse
(InputSource source) Parses a new XML Schema document.(package private) void
Turns on the error flag.
-
Field Details
-
schemaSet
SchemaSet to which a newly parsed schema is put in. -
owner
-
parser
-
patchers
-
errorCheckers
-
parsedDocuments
Documents that are parsed already. Used to avoid cyclic inclusion/double inclusion of schemas. Set ofSchemaDocumentImpl
s. The actual data structure is map fromSchemaDocumentImpl
to itself, so that we can access theSchemaDocumentImpl
itself. -
hadError
private boolean hadErrorOnce an error is detected, this flag is set to true. -
patcherManager
PatchManager implementation, which is accessible only from NGCCRuntimEx. -
errorHandler
ErrorHandler proxy to turn on the hadError flag when an error is found. -
noopHandler
ErrorHandler
that does nothing.
-
-
Constructor Details
-
ParserContext
-
-
Method Details
-
getEntityResolver
-
getAnnotationParserFactory
-
parse
Parses a new XML Schema document.- Throws:
SAXException
-
getResult
- Throws:
SAXException
-
newNGCCRuntime
-
setErrorFlag
void setErrorFlag()Turns on the error flag.
-