|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectes.rediris.aarr.Configuration
public class Configuration
This class is used for setting a new configuration or getting info about a given one. The information handled by this class includes a binding for the configuration, the associated ruleset, and the protocol used.
| Field Summary | |
|---|---|
(package private) java.lang.String |
binding
A binding for this config. |
(package private) org.w3c.dom.Element |
confProtocol
The protocol used in the configuration |
(package private) org.w3c.dom.Element |
environment
Environment section of the configuration |
(package private) org.w3c.dom.Element |
ruleset
The associated ruleset |
| Constructor Summary | |
|---|---|
Configuration(java.lang.String binding)
Unique constructor for this class; it sets the binding with a null protocol definition. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBinding()
Returns a String containing the name of the binding for this configuration |
org.w3c.dom.Element |
getConfigProtocol()
Returns the protocol associated with the configuration |
org.w3c.dom.Element |
getEnvironment()
Returns the Environment section in a configuration |
org.w3c.dom.Element |
getRuleset()
Returns the Ruleset associated with this configuration |
void |
setBinding(java.lang.String name)
Sets (changes) a (the) binding for the given configuration |
void |
setConfigProtocol(org.w3c.dom.Element conf)
Sets the protocol in the configuration to the provided one |
void |
setEnvironment(org.w3c.dom.Element envir)
Sets the value of the element containing environment variables |
void |
setRuleset(org.w3c.dom.Element rules)
Sets a ruleset with the rules provided. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.String binding
org.w3c.dom.Element ruleset
org.w3c.dom.Element environment
org.w3c.dom.Element confProtocol
| Constructor Detail |
|---|
public Configuration(java.lang.String binding)
binding - is a String with the binding name for this class| Method Detail |
|---|
public void setBinding(java.lang.String name)
name - The name of the bindingpublic java.lang.String getBinding()
public org.w3c.dom.Element getRuleset()
public void setRuleset(org.w3c.dom.Element rules)
rules - the rules being providedpublic org.w3c.dom.Element getEnvironment()
public void setEnvironment(org.w3c.dom.Element envir)
envir - the environment extracted from the configurationpublic org.w3c.dom.Element getConfigProtocol()
public void setConfigProtocol(org.w3c.dom.Element conf)
conf - the protocol
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||