public class AugeasNodeLazy extends AugeasNodeBase implements AugeasNode
ag, childNodes, label, parentNode, path, seq, value| Constructor and Description |
|---|
AugeasNodeLazy(String fullPath,
AugeasTree ag) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildNode(AugeasNode node) |
boolean |
equals(Object obj) |
List<AugeasNode> |
getChildByLabel(String labelName) |
List<AugeasNode> |
getChildNodes() |
String |
getFullPath() |
AugeasNode |
getParentNode() |
String |
getValue() |
void |
remove(boolean updateSeq)
Removes the node from its parent children optionally updating
the sequence numbers of the sibling nodes with the same label.
|
void |
setPath(String path) |
void |
setValue(String value) |
void |
updateFromParent()
Updates the settings of this node according to the data in the parent.
|
getLabel, getPath, getSeq, setLabel, setSeqpublic AugeasNodeLazy(String fullPath, AugeasTree ag)
public List<AugeasNode> getChildNodes()
getChildNodes in interface AugeasNodegetChildNodes in class AugeasNodeBasepublic AugeasNode getParentNode()
getParentNode in interface AugeasNodegetParentNode in class AugeasNodeBasepublic String getValue()
getValue in interface AugeasNodegetValue in class AugeasNodeBasepublic boolean equals(Object obj)
equals in interface AugeasNodeequals in class Objectpublic void setValue(String value)
setValue in interface AugeasNodesetValue in class AugeasNodeBasepublic String getFullPath()
getFullPath in interface AugeasNodepublic void addChildNode(AugeasNode node)
addChildNode in interface AugeasNodepublic List<AugeasNode> getChildByLabel(String labelName)
getChildByLabel in interface AugeasNodepublic void remove(boolean updateSeq)
throws AugeasTreeException
AugeasNoderemove in interface AugeasNodeupdateSeq - whether to update the siblings' sequence numbersAugeasTreeExceptionpublic void setPath(String path) throws AugeasTreeException
setPath in interface AugeasNodeAugeasTreeExceptionpublic void updateFromParent()
AugeasNodeupdateFromParent in interface AugeasNodeCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.