## org.apache.xerces.xni.parser
Interface XMLComponentManager

All 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,v 1.4 2002/01/29 01:15:19 lehors Exp $
Author:
  Andy Clark, IBM
See Also:
  `XMLComponent`

Method Summary
`boolean` `getFeature(java.lang.String featureId)` Returns the state of a feature.
`java.lang.Object` `getProperty(java.lang.String propertyId)` Returns the value of a property.

Method Detail

### getFeature

    public boolean getFeature(java.lang.String featureId)
                       throws XMLConfigurationException

  Returns the state of a feature.
  Parameters:
    `featureId` - The feature identifier.
  Throws:
    `XMLConfigurationException` - Thrown on configuration error.

### getProperty

    public java.lang.Object getProperty(java.lang.String propertyId)
                                 throws XMLConfigurationException

  Returns the value of a property.
  Parameters:
    `propertyId` - The property identifier.
  Throws:
    `XMLConfigurationException` - Thrown on configuration error.

Copyright © 1999-2003 Apache XML Project. All Rights Reserved.