|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.util.XpathQuery
public class XpathQuery
Reduced XPath query engine against simplified Xml DOM.
| Field Summary | |
|---|---|
static int |
NODE
|
static int |
NODE_LIST
Return a list of nodes. |
| Constructor Summary | |
|---|---|
XpathQuery()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
evaluate(java.lang.String expression,
XmlNode element,
int returnType)
Execute a XPath query against a node. |
static XmlNode |
getNode(java.lang.String expression,
XmlNode node)
Convenience method. |
static java.util.List<XmlNode> |
getNodes(java.lang.String expression,
XmlNode node)
Convenience method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NODE_LIST
public static final int NODE
| Constructor Detail |
|---|
public XpathQuery()
| Method Detail |
|---|
public static java.util.List<XmlNode> getNodes(java.lang.String expression,
XmlNode node)
expression - node -
public static XmlNode getNode(java.lang.String expression,
XmlNode node)
expression - node -
public static java.lang.Object evaluate(java.lang.String expression,
XmlNode element,
int returnType)
expression - element - returnType - The type of data expected to be returned.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||