public interface XMLComponentManager
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 |
|---|---|
boolean |
getFeature(String featureId)
Returns the state of a feature.
|
boolean |
getFeature(String featureId,
boolean defaultValue)
Returns the state of a feature.
|
FeatureState |
getFeatureState(String featureId) |
Object |
getProperty(String propertyId)
Returns the value of a property.
|
Object |
getProperty(String propertyId,
Object defaultObject)
Returns the value of a property.
|
PropertyState |
getPropertyState(String propertyId) |
boolean getFeature(String featureId) throws XMLConfigurationException
featureId - The feature identifier.XMLConfigurationException - Thrown on configuration error.boolean getFeature(String featureId, boolean defaultValue)
featureId - The feature identifier.defaultValue - Default value if future is not available.Object getProperty(String propertyId) throws XMLConfigurationException
propertyId - The property identifier.XMLConfigurationException - Thrown on configuration error.Object getProperty(String propertyId, Object defaultObject)
propertyId - The property identifier.defaultObject - Return value if property is not available.FeatureState getFeatureState(String featureId)
PropertyState getPropertyState(String propertyId)
Copyright © 2018–2021 mhoffrogge. All rights reserved.