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() |
void |
loadFromXMLNode(Node node) |
void |
setContent(byte[] content) |
void |
writeXML(Writer writer,
boolean blanks) |
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 loadFromXMLNode(Node node)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.