public class OMAConstructed extends OMANode
Modifier | Constructor and Description |
---|---|
protected |
OMAConstructed(OMAConstructed parent,
String name,
String context,
MultiValueMap<OMANode> children,
Map<String,String> avps) |
|
OMAConstructed(OMAConstructed parent,
String name,
String context,
String... avps) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(OMANode child) |
OMANode |
addChild(String name,
String context,
String value,
String pathString) |
void |
fillPayload(StringBuilder sb) |
OMANode |
getChild(String name) |
Collection<OMANode> |
getChildren() |
OMANode |
getListValue(Iterator<String> path) |
String |
getScalarValue(Iterator<String> path) |
String |
getValue() |
boolean |
isLeaf() |
void |
marshal(OutputStream out,
int level) |
OMANode |
removeNode(String key,
OMANode node) |
OMAConstructed |
reparent(OMAConstructed parent) |
OMANode |
replaceNode(OMANode oldNode,
OMANode newNode) |
void |
toString(StringBuilder sb,
int level) |
buildAttributes, escape, getAttributes, getContext, getName, getParent, getPath, getPathString, toString, toXml, unmarshal
public OMAConstructed(OMAConstructed parent, String name, String context, String... avps)
protected OMAConstructed(OMAConstructed parent, String name, String context, MultiValueMap<OMANode> children, Map<String,String> avps)
public OMANode addChild(String name, String context, String value, String pathString) throws IOException
addChild
in class OMANode
IOException
public OMAConstructed reparent(OMAConstructed parent)
public void addChild(OMANode child)
public String getScalarValue(Iterator<String> path) throws OMAException
getScalarValue
in class OMANode
OMAException
public OMANode getListValue(Iterator<String> path) throws OMAException
getListValue
in class OMANode
OMAException
public Collection<OMANode> getChildren()
getChildren
in class OMANode
public void toString(StringBuilder sb, int level)
public void marshal(OutputStream out, int level) throws IOException
marshal
in class OMANode
IOException
public void fillPayload(StringBuilder sb)
fillPayload
in class OMANode