com.mulesoft.utils.xml
Class Element
java.lang.Object
com.mulesoft.utils.xml.Node
com.mulesoft.utils.xml.Element
public class Element
- extends Node
| Fields inherited from class com.mulesoft.utils.xml.Node |
local, ns |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Element
public Element(String ns,
String local)
Element
public Element(String local)
Element
public Element(String ns,
String local,
Element parent)
Element
public Element(String local,
Element parent)
addChild
public Element addChild(Element child)
addChildren
public Element addChildren(List<Element> theChildren)
addChildren
public Element addChildren(Element... child)
addAttr
public Element addAttr(Attr attr)
addAttr
public Element addAttr(String local,
String value)
addAttr
public Element addAttr(String ns,
String local,
String value)
addNsDef
public Element addNsDef(String ns)
addNsDef
public Element addNsDef(String prefix,
String ns)
setValue
public void setValue(String value)
output
public void output(Formatter formatter)
throws IOException
- Specified by:
output in class Node
- Throws:
IOException
getAttrValue
public String getAttrValue(String name)
getChildren
public Iterable<Element> getChildren()
Copyright © 2012. All Rights Reserved.