org.apache.xerces.xni.parser.XMLComponent |
Known Indirect Subclasses
XIncludeHandler,
XML11DTDProcessor,
XML11DTDScannerImpl,
XML11DTDValidator,
XML11DocumentScannerImpl,
XML11NSDTDValidator,
XML11NSDocumentScannerImpl,
XML11NamespaceBinder,
XMLDTDLoader,
XMLDTDProcessor,
XMLDTDScannerImpl,
XMLDTDValidator,
XMLDocumentFragmentScannerImpl,
XMLDocumentScannerImpl,
XMLEntityManager,
and
8 others.
XIncludeHandler |
This is a pipeline component which performs XInclude handling, according to the
W3C specification for XML Inclusions. |
XML11DTDProcessor |
This class extends XMLDTDProcessor by giving it
the ability to parse XML 1.1 documents correctly. |
XML11DTDScannerImpl |
This class is responsible for scanning the declarations found
in the internal and external subsets of a DTD in an XML document. |
XML11DTDValidator |
This allows the validator to correctlyhandle XML 1.1
documents.@xerces.internal |
XML11DocumentScannerImpl |
This class is responsible for scanning XML document structure
and content. |
XML11NSDTDValidator |
The DTD validator. |
XML11NSDocumentScannerImpl |
The scanner acts as the source for the document
information which is communicated to the document handler. |
XML11NamespaceBinder |
This class performs namespace binding on the startElement and endElement
method calls in accordance with Namespaces in XML 1.1. |
XMLDTDLoader |
The DTD loader. |
XMLDTDProcessor |
The DTD processor. |
XMLDTDScannerImpl |
This class is responsible for scanning the declarations found
in the internal and external subsets of a DTD in an XML document. |
XMLDTDValidator |
The DTD validator. |
XMLDocumentFragmentScannerImpl |
This class is responsible for scanning the structure and content
of document fragments. |
XMLDocumentScannerImpl |
This class is responsible for scanning XML document structure
and content. |
XMLEntityManager |
The entity manager handles the registration of general and parameter
entities; resolves entities; and starts entities. |
XMLErrorReporter |
This class is a common element of all parser configurations and is
used to report errors that occur. |
XMLNSDTDValidator |
The DTD validator. |
XMLNSDocumentScannerImpl |
The scanner acts as the source for the document
information which is communicated to the document handler. |
XMLNamespaceBinder |
This class performs namespace binding on the startElement and endElement
method calls and passes all other methods through to the registered
document handler. |
XMLScanner |
This class is responsible for holding scanning methods common to
scanning the XML document structure and content as well as the DTD
structure and content. |
XMLSchemaLoader |
This class implements xni.grammars.XMLGrammarLoader. |
XMLSchemaValidator |
The XML Schema validator. |
XPointerHandler |
This is a pipeline component which extends the XIncludeHandler to perform
XPointer specific processing specified in the W3C XPointerFramework and
element() Scheme Recommendations. |
|
Class Overview
The component interface defines methods that must be implemented
by components in a parser configuration. The component methods allow
the component manager to initialize the component state and notify
the component when feature and property values change.
Public Methods
public
abstract
Boolean
getFeatureDefault
(String featureId)
Returns the default state for a feature, or null if this
component does not want to report a default value for this
feature.
Parameters
featureId
| The feature identifier. |
public
abstract
Object
getPropertyDefault
(String propertyId)
Returns the default state for a property, or null if this
component does not want to report a default value for this
property.
Parameters
propertyId
| The property identifier. |
public
abstract
String[]
getRecognizedFeatures
()
Returns a list of feature identifiers that are recognized by
this component. This method may return null if no features
are recognized by this component.
public
abstract
String[]
getRecognizedProperties
()
Returns a list of property identifiers that are recognized by
this component. This method may return null if no properties
are recognized by this component.
public
abstract
void
reset
(XMLComponentManager componentManager)
Resets the component. The component can query the component manager
about any features and properties that affect the operation of the
component.
Parameters
componentManager
| The component manager. |
public
abstract
void
setFeature
(String featureId, boolean state)
Sets the state of a feature. This method is called by the component
manager any time after reset when a feature changes state.
Note: Components should silently ignore features
that do not affect the operation of the component.
Parameters
featureId
| The feature identifier. |
state
| The state of the feature. |
Throws
XMLConfigurationException
| Thrown for configuration error.
In general, components should
only throw this exception if
it is really
a critical error.
|
public
abstract
void
setProperty
(String propertyId, Object value)
Sets the value of a property. This method is called by the component
manager any time after reset when a property changes value.
Note: Components should silently ignore properties
that do not affect the operation of the component.
Parameters
propertyId
| The property identifier. |
value
| The value of the property. |
Throws
XMLConfigurationException
| Thrown for configuration error.
In general, components should
only throw this exception if
it is really
a critical error.
|