org.apache.xerces.xni.parser

Interface XMLComponentManager

Known Subinterfaces:
XMLParserConfiguration, XMLPullParserConfiguration

public interface XMLComponentManager

The component manager manages a parser configuration and the components that make up that configuration. The manager notifies each component before parsing to allow the components to initialize their state; and also any time that a parser feature or property changes.

The methods of the component manager allow components to query features and properties that affect the operation of the component.

Version:
$Id: XMLComponentManager.java 319806 2004-02-24 23:15:58Z mrglavas $
Author:
Andy Clark, IBM
See Also:
XMLComponent

Method Summary

boolean
getFeature(String featureId)
Returns the state of a feature.
Object
getProperty(String propertyId)
Returns the value of a property.

Method Details

getFeature

public boolean getFeature(String featureId)
            throws XMLConfigurationException
Returns the state of a feature.
Parameters:
featureId - The feature identifier.
Throws:
XMLConfigurationException - Thrown on configuration error.

getProperty

public Object getProperty(String propertyId)
            throws XMLConfigurationException
Returns the value of a property.
Parameters:
propertyId - The property identifier.
Throws:
XMLConfigurationException - Thrown on configuration error.

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.