| 
 | BEA Systems, Inc. | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The component interface defines methods that must be implemented by components in a parser configuration. The component methods allow the component manager to initialize the component state and notify the component when feature and property values change.
XMLComponentManager| Method Summary | |
|  String[] | getRecognizedFeatures()Deprecated. Returns a list of feature identifiers that are recognized by this component. | 
|  String[] | getRecognizedProperties()Deprecated. Returns a list of property identifiers that are recognized by this component. | 
|  void | reset(XMLComponentManager componentManager)Deprecated. Resets the component. | 
|  void | setFeature(String featureId,
           boolean state)Deprecated. Sets the state of a feature. | 
|  void | setProperty(String propertyId,
            Object value)Deprecated. Sets the value of a property. | 
| Method Detail | 
public String[] getRecognizedFeatures()
public String[] getRecognizedProperties()
public void reset(XMLComponentManager componentManager)
           throws XMLConfigurationException
componentManager - The component manager.
XNIException - Thrown by component on initialization error.
XMLConfigurationException
public void setFeature(String featureId,
                       boolean state)
                throws XMLConfigurationException
Note: Components should silently ignore features that do not affect the operation of the component.
featureId - The feature identifier.state - The state of the feature.
XMLConfigurationException - Thrown for configuration error.
                                   In general, components should
                                   only throw this exception if
                                   it is really
                                   a critical error.
public void setProperty(String propertyId,
                        Object value)
                 throws XMLConfigurationException
Note: Components should silently ignore properties that do not affect the operation of the component.
propertyId - The property identifier.value - The value of the property.
XMLConfigurationException - Thrown for configuration error.
                                   In general, components should
                                   only throw this exception if
                                   it is really
                                   a critical error.| 
 | Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs91 Copyright 2005 BEA Systems Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||