|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.configuration.ConfigurationElement
public class ConfigurationElement
Describes a configuration element in the configuration file.
Constructor Summary | |
---|---|
ConfigurationElement(org.dom4j.Element element)
Creates a new configuration element for the specified DOM element. |
Method Summary | |
---|---|
protected String |
attributeValue(org.dom4j.Element target,
String key)
Returns the value of an attribute. |
protected org.dom4j.Element |
getElement()
Returns the DOM element of this configuration element. |
protected String |
getParentValue(String key)
Retrieves the value of the attribute with the specified key defined at the parent element. |
protected String |
getPath()
Returns the path of this element in the configuration file. |
protected String |
getValue(String key)
Retrieves the value of the attribute with the specified key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationElement(org.dom4j.Element element)
element
- the DOM element of this configuration element.Method Detail |
---|
protected final org.dom4j.Element getElement()
protected final String getPath()
protected final String attributeValue(org.dom4j.Element target, String key)
target
- the target element for which to determine the attribute value,
may be null
which causes a null
return value.key
- the name of the attribute for which to retrieve its value.
null
if there is no such attribute or
its value is the empty string.protected String getParentValue(String key)
key
- the attribute name for which to determine its value.
null
if there is no such attribute or
its value is the empty string.protected String getValue(String key)
key
- the attribute name for which to determine its value.
null
if there is no such attribute or
its value is the empty string.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG