public interface Element extends Serializable, Cloneable
Modifier and Type | Method and Description |
---|---|
Element |
clone()
Every WiseTreeElement must be cloneable; this is required to handle
element's add and removal into/from arrays and collections.
|
Element |
getChild(String id) |
Element |
getChildByName(String name) |
Iterator<? extends Element> |
getChildren() |
int |
getChildrenCount() |
Iterator<String> |
getChildrenIDs() |
Type |
getClassType() |
String |
getId() |
String |
getName() |
Element |
getPrototype() |
String |
getValue() |
Element |
incrementChildren() |
boolean |
isGroup() |
boolean |
isLazy() |
boolean |
isLeaf() |
boolean |
isNil() |
boolean |
isNillable() |
boolean |
isRemovable() |
boolean |
isResolved() |
void |
removeChild(String id) |
void |
setNil(boolean nil) |
void |
setValue(String value) |
Object |
toObject()
This is required to convert a tree element into the corresponding object
instance.
|
boolean isLeaf()
boolean isRemovable()
Type getClassType()
String getName()
boolean isNil()
void setNil(boolean nil)
String getId()
boolean isNillable()
boolean isGroup()
void removeChild(String id)
String getValue()
void setValue(String value)
Element getPrototype()
Element incrementChildren()
int getChildrenCount()
boolean isLazy()
boolean isResolved()
Element clone()
Object toObject()
Copyright © 2008–2013 JBoss.org. All rights reserved.