|
||||||||||
| 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 | |
|---|---|
String |
getAttribute(String name)
Retrieve an attribute value. |
String[] |
getAttributeNames()
Retrieve all attribute names. |
Configuration |
getChild(String name)
Retrieve a child node. |
Configuration[] |
getChildren()
Retrieve all children nodes. |
Configuration[] |
getChildren(String name)
Retrieve children nodes. |
String |
getName()
Retrieve the node name. |
String |
getText()
Retrieve the node text. |
| Field Detail |
|---|
static final Configuration[] EMPTY_ARRAY
Configuration array.
| Method Detail |
|---|
String getName()
String getText()
String getAttribute(String name)
name - The attribute name.
null if no attribute
matches the specified name.String[] getAttributeNames()
Configuration getChild(String name)
name - The child name.
null if none match.Configuration[] getChildren(String name)
name - The child name.
Configuration[] getChildren()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||