| org.objectweb.celtix.configuration.ConfigurationBuilder
All known Subclasses: org.objectweb.celtix.configuration.impl.ConfigurationBuilderImpl,
ConfigurationBuilder | public interface ConfigurationBuilder (Code) | | |
Method Summary | |
void | addModel(ConfigurationMetadata model) Stores the specified configuration model with the builder. | void | addModel(String resource) Stores the specified configuration model with the builder. | Configuration | buildConfiguration(String namespaceUri, String id) Creates a new top level Configuration object for the given namepace
with the specified identifier. | Configuration | buildConfiguration(String namespaceUri, String id, Configuration parent) Creates a new Configuration object for the given namepace as a child
of the specified parent configuration and with the specified identifier.
Parameters: id - the configuration identifier. Parameters: parent - the parent configuration. | Configuration | getConfiguration(String namespaceUri, String id) Returns the top level Configuration object with the specified namespace and
identifer or null if such a configuration does not exist.
throws: ConfigurationException - if no configuration metadata for the specified namespace is available. Parameters: namespaceUri - the configuration namespace. Parameters: id - the configuration identifier. | Configuration | getConfiguration(String namespaceURI, String id, Configuration parent) Returns the Configuration object with the specified namespace and
identifer that is a child of the specified parent configuration, or null if such a
configuration does not exist.
throws: ConfigurationException - if no configuration metadata for the specified namespace is available. Parameters: namespaceURI - the configuration namespace. Parameters: id - the configuration identifier. Parameters: parent - the parent configuration. | ConfigurationMetadata | getModel(String namespaceURI) Returns the configuration metadata model for the given namespace or null if no such
model is stored in this builder.
Parameters: namespaceURI - the configuration namespace. |
CONFIGURATION_BUILDER_CLASS_PROPERTY | String CONFIGURATION_BUILDER_CLASS_PROPERTY(Code) | | |
addModel | void addModel(ConfigurationMetadata model)(Code) | | Stores the specified configuration model with the builder.
Parameters: model - the configuration metadata model. |
addModel | void addModel(String resource)(Code) | | Stores the specified configuration model with the builder.
Parameters: resource - url to the configuration metadata model. |
buildConfiguration | Configuration buildConfiguration(String namespaceUri, String id)(Code) | | Creates a new top level Configuration object for the given namepace
with the specified identifier.
Parameters: namespaceUri - the configuration namespace. Parameters: id - the configuration identifier. the newly created configuration. |
buildConfiguration | Configuration buildConfiguration(String namespaceUri, String id, Configuration parent)(Code) | | Creates a new Configuration object for the given namepace as a child
of the specified parent configuration and with the specified identifier.
Parameters: id - the configuration identifier. Parameters: parent - the parent configuration. the newly created configuration. |
getConfiguration | Configuration getConfiguration(String namespaceUri, String id)(Code) | | Returns the top level Configuration object with the specified namespace and
identifer or null if such a configuration does not exist.
throws: ConfigurationException - if no configuration metadata for the specified namespace is available. Parameters: namespaceUri - the configuration namespace. Parameters: id - the configuration identifier. the configuration. |
getConfiguration | Configuration getConfiguration(String namespaceURI, String id, Configuration parent)(Code) | | Returns the Configuration object with the specified namespace and
identifer that is a child of the specified parent configuration, or null if such a
configuration does not exist.
throws: ConfigurationException - if no configuration metadata for the specified namespace is available. Parameters: namespaceURI - the configuration namespace. Parameters: id - the configuration identifier. Parameters: parent - the parent configuration. the configuration. |
getModel | ConfigurationMetadata getModel(String namespaceURI)(Code) | | Returns the configuration metadata model for the given namespace or null if no such
model is stored in this builder.
Parameters: namespaceURI - the configuration namespace. the configuration metadata model. |
|
|