org.apache.xerces.xni.parser

Interface XMLComponentManager

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,v 1.5 2004/02/24 23:15:56 mrglavas Exp $

Author: Andy Clark, IBM

See Also:

Method Summary
booleangetFeature(String featureId)
Returns the state of a feature.
ObjectgetProperty(String propertyId)
Returns the value of a property.

Method Detail

getFeature

public boolean getFeature(String featureId)
Returns the state of a feature.

Parameters: featureId The feature identifier.

Throws: XMLConfigurationException Thrown on configuration error.

getProperty

public Object getProperty(String propertyId)
Returns the value of a property.

Parameters: propertyId The property identifier.

Throws: XMLConfigurationException Thrown on configuration error.

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.