public class XmlQueryFormatter
extends java.lang.Object
XmlQueryParser; more
precisely, for any Relation r, we should have that
XmlQueryParser.parse(XmlQueryFormatter.toXmlDocument(r)) == r
| Constructor and Description |
|---|
XmlQueryFormatter() |
| Modifier and Type | Method and Description |
|---|---|
static org.w3c.dom.Document |
toXmlDocument(Relation q)
Serializes a relation as a DOM document.
|
static java.lang.String |
toXmlString(Relation q)
Serializes a relation as a string containing an XML representation
of the relation.
|
public static org.w3c.dom.Document toXmlDocument(Relation q)
q - The relation to serializepublic static java.lang.String toXmlString(Relation q)
q - The relation to serializeCopyright © Sylvain HallĂ©. All Rights Reserved.