APIdia Launch Partner
Top Description Methods
com.sun.org.apache.xerces.internal.xni.parser

public Interface XMLComponentManager

Known Direct Subinterfaces
com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration
Known Direct Implementers
com.sun.org.apache.xerces.internal.jaxp.SchemaValidatorConfiguration, com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaValidatorComponentManager, com.sun.org.apache.xerces.internal.util.ParserConfigurationSettings
Imports
com.sun.org.apache.xerces.internal.util.FeatureState, .PropertyState

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.

Author
Andy Clark, IBM
See Also
XMLComponent

Method Summary

Modifier and TypeMethod and Description
public boolean
getFeature(String
The feature identifier.
featureId
)

Returns the state of a feature.

public boolean
getFeature(String
The feature identifier.
featureId
,
boolean
Default value if future is not available.
defaultValue
)

Returns the state of a feature.

public FeatureState
public Object
getProperty(String
The property identifier.
propertyId
)

Returns the value of a property.

public Object
getProperty(String
The property identifier.
propertyId
,
Object
Return value if property is not available.
defaultObject
)

Returns the value of a property.

public PropertyState

Method Detail

getFeatureback to summary
public boolean getFeature(String featureId) throws XMLConfigurationException

Returns the state of a feature.

Parameters
featureId:String

The feature identifier.

Exceptions
XMLConfigurationException:
Thrown on configuration error.
getFeatureback to summary
public boolean getFeature(String featureId, boolean defaultValue)

Returns the state of a feature. Does not throw exceptions.

Parameters
featureId:String

The feature identifier.

defaultValue:boolean

Default value if future is not available.

getFeatureStateback to summary
public FeatureState getFeatureState(String featureId)
getPropertyback to summary
public Object getProperty(String propertyId) throws XMLConfigurationException

Returns the value of a property.

Parameters
propertyId:String

The property identifier.

Exceptions
XMLConfigurationException:
Thrown on configuration error.
getPropertyback to summary
public Object getProperty(String propertyId, Object defaultObject)

Returns the value of a property. Does not throw exceptions.

Parameters
propertyId:String

The property identifier.

defaultObject:Object

Return value if property is not available.

getPropertyStateback to summary
public PropertyState getPropertyState(String propertyId)