Turtle DB
A mini DDBMS
|
Static Public Member Functions | |
static Document | toXmlDocument (Relation q) |
static String | toXmlString (Relation q) |
Facilities to convert relations into equivalent XML representations. The XmlQueryFormatter works in pair with the XmlQueryParser; more precisely, for any Relation r
, we should have that XmlQueryParser.parse(XmlQueryFormatter.toXmlDocument(r)) == r
static Document ca.uqac.dim.ddb.XmlQueryFormatter.toXmlDocument | ( | Relation | q | ) | [static] |
Serializes a relation as a DOM document.
q | The relation to serialize |
static String ca.uqac.dim.ddb.XmlQueryFormatter.toXmlString | ( | Relation | q | ) | [static] |
Serializes a relation as a string containing an XML representation of the relation.
q | The relation to serialize |