org.jbpm.formModeler.core.xml.util
Class XMLNode
java.lang.Object
org.jbpm.formModeler.core.xml.util.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
writeXML
public void writeXML(Writer writer,
boolean blanks,
boolean indent)
throws IOException
- Throws:
IOException
loadFromXMLNode
public void loadFromXMLNode(Node node)
indent
public int indent()
escapeXml
public static String escapeXml(String s)
indentStr
public String indentStr(int indent)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.