public class XmlNode extends Object
| Constructor and Description |
|---|
XmlNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String key,
String value)
Add attribute to this node
|
void |
addChildXmlElement(String key,
XmlNode xmlElement)
Add child node to this node
|
String |
attr(String attributeName) |
String[] |
attrValues(String attributeName) |
XmlNode |
child(String key) |
XmlNode[] |
children(String key) |
double |
doubleValue() |
float |
floatValue() |
String[] |
getChildElementNames() |
Map<String,List<String>> |
getLocalAttrMap() |
int |
intValue() |
long |
longValue() |
String |
stringValue() |
String |
toString() |
public String[] getChildElementNames()
public void addChildXmlElement(String key, XmlNode xmlElement)
key - xmlElement - public void addAttribute(String key, String value)
key - value - public String stringValue()
public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
Copyright © 2015. All rights reserved.