return the final set of grammars that the validator ended up
with.
If the application decides to terminate parsing before the xml document
is fully parsed, the application should call this method to free any
resource allocated during parsing.
Clears the values of the qname components.
Removes all grammars from the pool.
Resets all of the values to their defaults.
Returns a clone of this object.
Conditional section: IGNORE.
Conditional section: INCLUDE.
Indicate that the parse of the current schema document is triggered by
the occurrence of an attribute whose namespace is the target namespace
of this schema document.
Indicate that the parse of the current schema document is triggered by
the occurrence of an element whose namespace is the target namespace
of this schema document.
Indicate that the current schema document is <import>ed by another
schema document.
Indicate that the current schema document is <include>d by another
schema document.
Indicate that the parse of the current schema document is triggered
by xsi:schemaLocation/noNamespaceSchemaLocation attribute(s) in the
instance document.
Indicate that the current schema document is being preparsed.
Indicate that the current schema document is <redefine>d by another
schema document.
Indicate that the parse of the current schema document is triggered by
the occurrence of an "xsi:type" attribute, whose value (a QName) has
the target namespace of this schema document as its namespace.
Return an enumeration of all prefixes whose declarations are active
in the current context.
If a call is triggered by an element/attribute/xsi:type in the instance,
this call returns all attributes of such an element (or enclosing element).
Look up an augmentation by attribute's index.
Look up an augmentation by XML 1.0 qualified name.
Look up an augmentation by namespace name.
Returns the base system identifier.
Returns the base system identifier.
Returns the base system identifier.
Returns the base URI against which the literal SystemId is to be
resolved.
Returns the character offset, or -1
if no character offset is available.
Returns the character offset.
Returns the character stream.
Returns the column number, or -1
if no column number is available.
Returns the prefix at the specified index in the current context.
Return a count of locally declared prefixes, including
the default prefix if bound.
Returns the document handler
Returns the registered document handler.
Returns the document source.
Returns the DTD content model handler.
Returns the registered DTD content model handler.
Returns the registered DTD handler.
If a call is triggered by an attribute or xsi:type, then this method
returns the enclosing element of such element.
Returns the encoding of the stream, or null if not known.
Returns the encoding of the current entity.
Returns the registered entity resolver.
Returns the registered entity resolver.
Returns the registered error handler.
Returns the registered error handler.
Returns the wrapped exception.
Returns the expanded system identifier.
Returns the expanded system identifier.
Returns the expanded system identifier.
Returns the state of a feature.
Returns the state of a feature.
Returns the state of a feature.
Returns the default state for a feature, or null if this
component does not want to report a default value for this
feature.
get the XMLGrammarDescription
associated with this
object
Return the type of this grammar.
Returns the feature or property identifier.
Look up the index of an attribute by XML 1.0 qualified name.
Look up the index of an attribute by Namespace name.
Get information identified by a key from the Augmentations structure
Returns the number of attributes in the list.
Returns the line number, or -1
if no line number is available.
Returns the literal system identifier.
Returns the literal system identifier.
Returns the literal system identifier.
Return the Locale the XMLGrammarLoader is using.
Look up an attribute's local name by index.
For import and references from the instance document, it's possible to
have multiple hints for one namespace.
Sets the fields in the given QName structure with the values
of the attribute name at the specified index.
Returns the namespace of the resource.
Returns the non-normalized value of the attribute at the specified
index.
Returns the prefix of the attribute at the specified index.
Look up a namespace URI and get one of the mapped prefix.
Returns the value of a property.
Returns the state of a property.
Returns the value of a property.
Returns the default state for a property, or null if this
component does not want to report a default value for this
property.
Returns the public identifier.
Returns the public identifier.
Returns the public identifier.
Returns the public identifier.
Look up an attribute's XML 1.0 qualified name by index.
Returns a list of feature identifiers that are recognized by
this component.
Returns a list of feature identifiers that are recognized by
this XMLGrammarLoader.
Returns a list of property identifiers that are recognized by
this component.
Returns a list of property identifiers that are recognized by
this XMLGrammarLoader.
Return the root name of this DTD.
Returns the system identifier.
If the context is "include" or "redefine", then return the target
namespace of the enclosing schema document; otherwise, the expected
target namespace of this document.
If a call is triggered by an element/attribute/xsi:type in the instance,
this call returns the name of such triggering component: the name of
the element/attribute, or the value of the xsi:type.
Returns the exception type.
Look up an attribute's type by index.
Look up an attribute's type by XML 1.0 qualified name.
Look up an attribute's type by Namespace name.
Look up an attribute's Namespace URI by index.
Look up a prefix and get the currently-mapped Namespace URI.
Look up an attribute's value by index.
Look up an attribute's value by XML 1.0 qualified name.
Look up an attribute's value by Namespace name.
Returns the XML version of the current entity.
A generic grammar for use in validating XML documents.
Scans the external subset of the document.
Scans the internal subset of the document.
The separator between choices or sequences of a mixed or children
content model.
A choice separator for children and mixed content models.
A sequence separator for children content models.
Sets the augmentations of the attribute at the specified index.
Sets the base system identifier.
Setsthe base URI against which the literal SystemId is to be
resolved.
Sets the character stream.
Sets the document handler.
Sets the document handler to receive information about the document.
Sets the document source.
Sets the DTD content model handler.
Sets the DTD content model handler.
Sets the encoding of the stream.
Sets the entity resolver.
Sets the entity resolver.
Sets the expanded system identifier.
Sets the state of a feature.
Sets the state of a feature.
Sets the state of a feature.
Sets the input source for the document to parse.
Sets the literal system identifier.
Set the locale to use for messages.
Set the locale to use for messages.
Sets the name of the attribute at the specified index.
Sets the namespace of the resource.
Sets the non-normalized value of the attribute at the specified
index.
Sets the value of a property.
Sets the state of a property.
Sets the value of a property.
Sets the public identifier.
Sets the public identifier.
Sets whether an attribute is specified in the instance document
or not.
Sets the system identifier.
Sets the type of the attribute at the specified index.
Sets the value of the attribute at the specified index.
Initializes the contents of the XMLString structure with the
specified values.
Convenience method to set the values of the qname components.
Initializes the contents of the XMLString structure with copies
of the given string structure.
Convenience method to set the values of the qname components.
The start of an attribute list.
The start of a CDATA section.
The start of a CDATA section.
The start of a conditional section.
The start of a content model.
The start of the document.
The start of the document fragment.
The start of the DTD external subset.
This method notifies the start of a general entity.
This method notifies the start of a general entity.
A start of either a mixed or children content model.
This method notifies of the start of a parameter entity.
The grammar type constant for DTD grammars.
The grammar type constant for XML Schema grammars.
The XML Namespace ("http://www.w3.org/XML/1998/namespace").
The XMLAttributes interface defines a collection of attributes for
an element.
The component interface defines methods that must be implemented
by components in a parser configuration.
The component manager manages a parser configuration and the components
that make up that configuration.
An XNI parser configuration exception.
Constructs a configuration exception with the specified type
and feature/property identifier.
Constructs a configuration exception with the specified type,
feature/property identifier, and error message
Notifies of the presence of an XMLDecl line in the document.
Defines a document filter that acts as both a receiver and an emitter
of document events.
This handler interface contains methods necessary to receive
information about document elements and content.
The document handler interface defines callback methods to report
information items in XML documents.
This interface defines a generic document scanner.
Defines a document source.
Defines a DTD content model filter that acts as both a receiver and
an emitter of DTD content model events.
The DTD content model handler interface defines callback methods
to report information items in DTD content models of an element
declaration.
Defines a DTD content model source.
All information specific to DTD grammars.
Defines a DTD filter that acts as both a receiver and an emitter
of DTD events.
The DTD handler interface defines callback methods to report
information items in the DTD of an XML document.
This interface defines a generic DTD scanner.
This interface is used to resolve external parsed entities.
An interface for handling errors.
This interface describes basic attributes of XML grammars--their
physical location and their type.
The intention of this interface is to provide a generic means
by which Grammar objects may be created without parsing instance
documents.
This interface specifies how the parser and the application
interact with respect to Grammar objects that the application
possesses--either by having precompiled them or by having stored them
from a previous validation of an instance document.
This class represents an input source for an XML document.
Constructs an input source from a XMLResourceIdentifier
object, leaving resolution of the entity and opening of
the input stream up to the caller.
Constructs an input source from just the public and system
identifiers, leaving resolution of the entity and opening of
the input stream up to the caller.
Constructs an input source from a byte stream.
Constructs an input source from a character stream.
XML Information Set REC
all namespace attributes (including those named xmlns,
whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/
Constructs a parse exception.
Constructs a parse exception.
Represents a parser configuration.
Represents a parser configuration that can be used as the
configuration for a "pull" parser.
This represents the basic physical description of the location of any
XML resource (a Schema grammar, a DTD, a general entity etc.)
All information specific to XML Schema grammars.
This class is used as a structure to pass text contained in the underlying
character buffer of the scanner.
Constructs an XMLString structure preset with the specified
values.
Constructs an XMLString structure with copies of the values in
the given structure.
This exception is the base exception of all XNI exceptions.
Constructs an XNI exception with a wrapped exception.
Constructs an XNI exception with a message.
Constructs an XNI exception with a message and wrapped exception.
Representing a schema grammar.