|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wvcm.util.XPathWrapper
public class XPathWrapper
Constructor Summary | |
---|---|
XPathWrapper(java.lang.String expression,
org.jdom.Namespace nsp)
Constructor |
Method Summary | |
---|---|
java.util.List |
selectNodes(java.lang.Object context)
Evaluates the wrapped XPath expression and returns the list of selected nodes. |
java.lang.Object |
selectSingleNode(java.lang.Object context)
Evaluates the wrapped XPath expression and returns the first entry in the list of selected nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathWrapper(java.lang.String expression, org.jdom.Namespace nsp) throws WvcmException
expression
- a String
WvcmException
Method Detail |
---|
public java.util.List selectNodes(java.lang.Object context) throws WvcmException
context
- the node to use as context for evaluating the XPath expression.
WvcmException
public java.lang.Object selectSingleNode(java.lang.Object context) throws WvcmException
context
- the node to use as context for evaluating the XPath expression.
WvcmException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |