XmlCallback<XmlName,XmlNode,XmlAttribute>public class XmlBuilder extends Object implements XmlCallback<XmlName,XmlNode,XmlAttribute>
| Constructor | Description |
|---|---|
XmlBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
XmlNode |
createAttribute(XmlName name,
String text) |
|
XmlNode |
createCDATA(String text) |
|
XmlNode |
createComment(String text) |
|
XmlNode |
createDoctype(String text) |
|
XmlNode |
createDocument(Collection<XmlNode> children) |
|
XmlNode |
createElement(XmlName name,
Collection<XmlAttribute> attributes,
Collection<XmlNode> children) |
|
XmlNode |
createProcessing(String target,
String text) |
|
XmlName |
createQualified(String name) |
|
XmlNode |
createText(String text) |
public XmlNode createAttribute(XmlName name, String text)
createAttribute in interface XmlCallback<XmlName,XmlNode,XmlAttribute>public XmlNode createComment(String text)
createComment in interface XmlCallback<XmlName,XmlNode,XmlAttribute>public XmlNode createCDATA(String text)
createCDATA in interface XmlCallback<XmlName,XmlNode,XmlAttribute>public XmlNode createDoctype(String text)
createDoctype in interface XmlCallback<XmlName,XmlNode,XmlAttribute>public XmlNode createDocument(Collection<XmlNode> children)
createDocument in interface XmlCallback<XmlName,XmlNode,XmlAttribute>public XmlNode createElement(XmlName name, Collection<XmlAttribute> attributes, Collection<XmlNode> children)
createElement in interface XmlCallback<XmlName,XmlNode,XmlAttribute>public XmlNode createProcessing(String target, String text)
createProcessing in interface XmlCallback<XmlName,XmlNode,XmlAttribute>public XmlName createQualified(String name)
createQualified in interface XmlCallback<XmlName,XmlNode,XmlAttribute>public XmlNode createText(String text)
createText in interface XmlCallback<XmlName,XmlNode,XmlAttribute>Copyright © 2018 PetitParser. All rights reserved.