Package | Description |
---|---|
org.xmlfield.core | |
org.xmlfield.core.api | |
org.xmlfield.core.impl.dom |
Modifier and Type | Method and Description |
---|---|
<T> T |
XmlField.newObject(Class<T> type)
instantiate a new XmlField interface.
|
String |
XmlField.nodeToXml(XmlFieldNode node) |
void |
XmlField.nodeToXml(XmlFieldNode node,
Writer writer) |
String |
XmlField.objectToXml(Object o) |
void |
XmlField.objectToXml(Object o,
Writer writer) |
XmlFieldNode |
XmlField.xmlToNode(InputStream xmlInputStream)
Load the XML document from an input stream, load it internally in a tree
and return the root node.
|
XmlFieldNode |
XmlField.xmlToNode(String xml)
Load the XML document from a string, load it internally in a tree and
return the root node.
|
<T> T |
XmlField.xmlToObject(InputStream xmlContent,
Class<T> type) |
<T> T |
XmlField.xmlToObject(String xml,
Class<T> type)
Create an interface for the given xml and matching the given interface.
|
Modifier and Type | Method and Description |
---|---|
String |
XmlFieldNodeParser.nodeToXml(XmlFieldNode node)
Transform an xml field node to an xml string.
|
void |
XmlFieldNodeParser.nodeToXml(XmlFieldNode node,
Writer writer) |
XmlFieldNode |
XmlFieldNodeParser.xmlToNode(InputStream xmlContent)
Transform an xml inputstream to an xml field node.
|
XmlFieldNode |
XmlFieldNodeParser.xmlToNode(String xml)
Transform an xml string to an xml field node.
|
Modifier and Type | Method and Description |
---|---|
String |
DomNodeParser.nodeToXml(XmlFieldNode node) |
void |
DomNodeParser.nodeToXml(XmlFieldNode node,
Writer writer) |
XmlFieldNode |
DomNodeParser.xmlToNode(InputStream xmlContent) |
XmlFieldNode |
DomNodeParser.xmlToNode(String xml) |
Copyright © 2011–2014. All rights reserved.