org.apache.xerces.xni.parser
public interface XMLComponent
Version: $Id: XMLComponent.java,v 1.6 2004/02/24 23:15:56 mrglavas Exp $
Method Summary | |
---|---|
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.
|
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.
|
String[] | getRecognizedFeatures()
Returns a list of feature identifiers that are recognized by
this component. |
String[] | getRecognizedProperties()
Returns a list of property identifiers that are recognized by
this component. |
void | reset(XMLComponentManager componentManager)
Resets the component. |
void | setFeature(String featureId, boolean state)
Sets the state of a feature. |
void | setProperty(String propertyId, Object value)
Sets the value of a property. |
Parameters: featureId The feature identifier.
Since: Xerces 2.2.0
Parameters: propertyId The property identifier.
Since: Xerces 2.2.0
Parameters: componentManager The component manager.
Throws: XNIException Thrown by component on initialization error.
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.
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.