|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Configuration
Configuration passed to a configurable SemanticComponent
.
A Configuration
may actually form a tree-shaped structure in
order to hold complex configuration data. Each node in the tree is
represented by a Configuration
object that has a name and may
contain attributes, children and text.
Field Summary | |
---|---|
static Configuration[] |
EMPTY_ARRAY
Empty Configuration array. |
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String name)
Retrieve an attribute value. |
java.lang.String[] |
getAttributeNames()
Retrieve all attribute names. |
Configuration |
getChild(java.lang.String name)
Retrieve a child node. |
Configuration[] |
getChildren()
Retrieve all children nodes. |
Configuration[] |
getChildren(java.lang.String name)
Retrieve children nodes. |
java.lang.String |
getName()
Retrieve the node name. |
java.lang.String |
getText()
Retrieve the node text. |
Field Detail |
---|
static final Configuration[] EMPTY_ARRAY
Configuration
array.
Method Detail |
---|
java.lang.String getName()
java.lang.String getText()
java.lang.String getAttribute(java.lang.String name)
name
- The attribute name.
null
if no attribute
matches the specified name.java.lang.String[] getAttributeNames()
Configuration getChild(java.lang.String name)
name
- The child name.
null
if none match.Configuration[] getChildren(java.lang.String name)
name
- The child name.
Configuration[] getChildren()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |