The methods of the component manager allow components to query features and properties that affect the operation of the component.
XMLComponent
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| 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 | |
| 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 |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(String featureId) throws XMLConfigurationException Returns the state of a feature.
| |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(String featureId, boolean defaultValue) Returns the state of a feature. Does not throw exceptions.
| |
| getFeatureState | back to summary |
|---|---|
| public FeatureState getFeatureState(String featureId) | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String propertyId) throws XMLConfigurationException Returns the value of a property.
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String propertyId, Object defaultObject) Returns the value of a property. Does not throw exceptions. | |
| getPropertyState | back to summary |
|---|---|
| public PropertyState getPropertyState(String propertyId) | |