|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RWNode
This insterface extends the Node interface in
order to support write operations.
| Field Summary |
|---|
| Fields inherited from interface org.sapia.regis.Node |
|---|
ROOT_NAME |
| Method Summary | |
|---|---|
void |
addInclude(Node node)
|
void |
appendLink(Node node)
|
Node |
createChild(String name)
|
void |
deleteChild(String name)
|
void |
deleteChildren()
Deletes the child Nodes of this instance. |
void |
deleteIncludes()
Removes all included nodes from this instance. |
void |
deleteLinks()
Removes all linked nodes from this instance. |
void |
deleteProperties()
Deletes this instance's properties. |
void |
deleteProperty(String key)
|
void |
moveTo(Node newParent)
Moves this instance to the given parent. |
void |
prependLink(Node node)
|
void |
removeAppendedLink(Node node)
|
void |
removeInclude(Node node)
|
void |
removePrependedLink(Node node)
|
void |
setInheritsParent(boolean inheritsParent)
Sets the inheritance mode of this instance. |
void |
setProperty(String key,
String value)
|
void |
setType(String type)
|
| Methods inherited from interface org.sapia.regis.Node |
|---|
getAbsolutePath, getChild, getChild, getChildren, getChildrenNames, getIncludes, getLinks, getName, getNodes, getParent, getProperties, getProperties, getProperty, getPropertyKeys, getType, isInheritsParent, isRoot, lastModifChecksum, renderProperty, renderProperty |
| Method Detail |
|---|
void setProperty(String key,
String value)
key - a property key.value - a property value.void deleteProperty(String key)
key - the key of the property to delete.void deleteProperties()
void setType(String type)
type - the type of this node.Form.getType()
Node createChild(String name)
throws DuplicateNodeException
name - the name under which the new child node should be bound under this instance.
Node
DuplicateNodeException - if a node already exists under this instance,
for the given name.void deleteChild(String name)
name - deletes the child Node with the given name from this instance.void deleteChildren()
Nodes of this instance.
void setInheritsParent(boolean inheritsParent)
inheritsParent - if true, indicates to this instance that it should
inherit its parent's configuration properties.void prependLink(Node node)
node - a linked Node.void removePrependedLink(Node node)
node - a linked Nodevoid appendLink(Node node)
node - a linked Node.void removeAppendedLink(Node node)
node - a linked Nodevoid deleteLinks()
void addInclude(Node node)
node - a Node to included.void removeInclude(Node node)
node - a Node to remove from
this instance's included nodes.void deleteIncludes()
void moveTo(Node newParent)
newParent - a Node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||