java.lang.Objectcom.collabnet.tracker.xml.QueryMetadataXMLHelper
public class QueryMetadataXMLHelper
Serializes/deserializes a QueryVO and the corresponding QueryCriteriaBuilder to/from XML
| Constructor Summary | |
|---|---|
QueryMetadataXMLHelper()
|
|
| Method Summary | |
|---|---|
XMLOperationResult |
build(org.w3c.dom.Document document,
XPathProcessor xpath)
|
void |
visitQueries(XMLVisitor visitor)
Generates the following format: |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryMetadataXMLHelper()
| Method Detail |
|---|
public void visitQueries(XMLVisitor visitor)
throws XMLVisitorException
<queries>
<query>
<queryMetadata>
<name>name</name>
<description>desc</description>
<tagName>tagName</tagName>
<namespace>namespace</namespace>
<default>true | false</namespace>
<scope>domain | project | personal</scope>
</queryMetadata>
<queryCriteria>QueryXMLHelper.visit(XMLVisitor, ProjectQueryCriteriaBuilder)</queryCriteria>
</query>
</queries>
visitor -
XMLVisitorException
public XMLOperationResult build(org.w3c.dom.Document document,
XPathProcessor xpath)
throws XMLBuilderException
document - xpath -
XMLBuilderException