org.jbpm.formModeler.core.xml.util
public class XMLNode extends Object implements Serializable
Constructor and Description |
---|
XMLNode(String objectName,
XMLNode parent) |
Modifier and Type | Method and Description |
---|---|
Object |
addAttribute(String name,
String value) |
void |
addChild(XMLNode node) |
void |
addWarning(String warning,
Object arguments) |
void |
addWarning(String warning,
Object[] arguments) |
static String |
escapeXml(String s) |
Properties |
getAttributes() |
List<XMLNode> |
getChildren() |
byte[] |
getContent() |
String |
getObjectName() |
XMLNode |
getParent() |
List |
getWarningArguments() |
List |
getWarnings() |
int |
indent() |
String |
indentStr(int indent) |
void |
loadFromXMLNode(Node node) |
void |
setContent(byte[] content) |
void |
writeXML(Writer writer,
boolean blanks) |
void |
writeXML(Writer writer,
boolean blanks,
boolean indent) |
public String getObjectName()
public Properties getAttributes()
public List getWarnings()
public List getWarningArguments()
public XMLNode getParent()
public void addChild(XMLNode node)
public byte[] getContent()
public void setContent(byte[] content)
public void writeXML(Writer writer, boolean blanks) throws IOException
IOException
public void writeXML(Writer writer, boolean blanks, boolean indent) throws IOException
IOException
public void loadFromXMLNode(Node node)
public int indent()
public String indentStr(int indent)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.