org.jboss.dashboard.commons.xml
Class XMLNode
java.lang.Object
org.jboss.dashboard.commons.xml.XMLNode
- All Implemented Interfaces:
- Serializable
public class XMLNode
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLNode
public XMLNode(String objectName,
XMLNode parent)
getObjectName
public String getObjectName()
getAttributes
public Properties getAttributes()
getChildren
public List<XMLNode> getChildren()
getWarnings
public List getWarnings()
getWarningArguments
public List getWarningArguments()
getParent
public XMLNode getParent()
addAttribute
public Object addAttribute(String name,
String value)
addChild
public void addChild(XMLNode node)
addWarning
public void addWarning(String warning,
Object[] arguments)
addWarning
public void addWarning(String warning,
Object arguments)
getContent
public byte[] getContent()
setContent
public void setContent(byte[] content)
writeXML
public void writeXML(Writer writer,
boolean blanks)
throws IOException
- Throws:
IOException
loadFromXMLNode
public void loadFromXMLNode(Node node)
escapeXml
public static String escapeXml(String s)
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.