|
Forge - Parent 1.2.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurationElement
Method Summary | |
---|---|
ConfigurationElement |
getChildByContent(String content)
Returns the child element that contains the given content. |
ConfigurationElement |
getChildByContent(String content,
boolean directChildsOnly)
Returns the child element that contains the given content. |
ConfigurationElement |
getChildByName(String name)
Checks if the child element that has the given name exists. |
ConfigurationElement |
getChildByName(String name,
boolean directChildsOnly)
Returns the child element that has the given name exists. |
List<PluginElement> |
getChildren()
|
String |
getName()
|
String |
getText()
|
boolean |
hasChildByContent(String content)
Checks if a child element is present with the given content. |
boolean |
hasChildByContent(String content,
boolean directChildsOnly)
Checks if a child element is present with the given content. |
boolean |
hasChildByName(String name)
Checks if the child element that has the given name exists. |
boolean |
hasChildByName(String name,
boolean directChildsOnly)
Checks if the child element that has the given name exists. |
boolean |
hasChilderen()
|
boolean |
isPlugin()
|
Method Detail |
---|
String getName()
boolean isPlugin()
boolean hasChilderen()
String getText()
List<PluginElement> getChildren()
boolean hasChildByContent(String content, boolean directChildsOnly)
content
- The content to filter on.directChildsOnly
- True if only direct elements should be matched
boolean hasChildByContent(String content)
content
- The content to filter on.
hasChildByContent(String, boolean)
ConfigurationElement getChildByContent(String content, boolean directChildsOnly)
content
- The content to filter on.directChildsOnly
- True if only direct elements should be matched
ConfigurationElementNotFoundException
if the element was not
found.ConfigurationElement getChildByContent(String content)
content
- The content to filter on.
ConfigurationElementNotFoundException
if the element was not
found.getChildByContent(String, boolean)
boolean hasChildByName(String name, boolean directChildsOnly)
name
- The element name to filter on.directChildsOnly
- True if only direct elements should be matched
ConfigurationElementNotFoundException
if the element was not
found.boolean hasChildByName(String name)
name
- The element name to filter on.
ConfigurationElementNotFoundException
if the element was not
found.ConfigurationElement getChildByName(String name, boolean directChildsOnly)
name
- The element name to filter on.directChildsOnly
- True if only direct elements should be matched
ConfigurationElementNotFoundException
if the element was not
found.ConfigurationElement getChildByName(String name)
name
- The element name to filter on.
ConfigurationElementNotFoundException
if the element was not
found.
|
Forge - Parent 1.2.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |