|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.core.query.QueryUtil
Helper to convert NodeSet query result into the Document
Constructor Summary | |
QueryUtil()
|
Method Summary | |
static NamespaceMap |
mapNamespaces(Map namespaces)
Maps a Hashtable containing namespace definitions into a Xindice NamespaceMap. |
static org.w3c.dom.Document |
queryResultsToDOM(NodeSet nodeSet)
Adds additional meta data to the query results, and turns it into a DOM document. |
static org.w3c.dom.Document |
queryResultsToDOM(NodeSet nodeSet,
boolean expandSource)
Adds additional meta data to the query results, and turns it into a DOM document. |
static String |
queryResultsToString(NodeSet nodeSet)
Adds additional meta data to the query results, and turns it into a String containing XML document. |
static String |
queryResultsToString(NodeSet nodeSet,
boolean expandSource)
Adds additional meta data to the query results, and turns it into a String containing XML document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryUtil()
Method Detail |
public static NamespaceMap mapNamespaces(Map namespaces)
public static org.w3c.dom.Document queryResultsToDOM(NodeSet nodeSet, boolean expandSource)
expandSource
- if true, source meta attributes will be addedpublic static org.w3c.dom.Document queryResultsToDOM(NodeSet nodeSet)
public static String queryResultsToString(NodeSet nodeSet, boolean expandSource)
expandSource
- if true, source meta attributes will be addedpublic static String queryResultsToString(NodeSet nodeSet)
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |