public class UncheckedTapestryXPath extends Object implements org.jaxen.XPath
TapestryXPath
but throws unchecked exceptions.Constructor and Description |
---|
UncheckedTapestryXPath(String xpath) |
Modifier and Type | Method and Description |
---|---|
void |
addNamespace(String prefix,
String uri) |
boolean |
booleanValueOf(Object node) |
String |
debug() |
Object |
evaluate(Object arg0) |
org.jaxen.FunctionContext |
getFunctionContext() |
org.jaxen.NamespaceContext |
getNamespaceContext() |
org.jaxen.Navigator |
getNavigator() |
org.jaxen.expr.Expr |
getRootExpr() |
org.jaxen.VariableContext |
getVariableContext() |
List<String> |
normalizedDescendantText(Object node) |
static String |
normalizeText(String string) |
Number |
numberValueOf(Object node) |
List<org.apache.tapestry5.dom.Attribute> |
selectAttributes(Object node) |
List<org.apache.tapestry5.dom.Element> |
selectElements(Object node) |
List<String> |
selectElementsAttribute(Object node,
String attributeName) |
List<String> |
selectElementsChildMarkup(Object node) |
List<org.apache.tapestry5.dom.Node> |
selectNodes(Object node) |
org.apache.tapestry5.dom.Element |
selectSingleElement(Object node) |
Object |
selectSingleNode(Object node) |
void |
setFunctionContext(org.jaxen.FunctionContext functionContext) |
void |
setNamespaceContext(org.jaxen.NamespaceContext namespaceContext) |
void |
setVariableContext(org.jaxen.VariableContext variableContext) |
String |
singleNormalizedDescendantText(Object node) |
String |
stringValueOf(Object node) |
List<String> |
stringValuesOf(Object node) |
String |
valueOf(Object node)
Deprecated.
|
static UncheckedTapestryXPath |
xpath(String xpath) |
public UncheckedTapestryXPath(String xpath)
public static UncheckedTapestryXPath xpath(String xpath)
xpath
- the XPath expression as a string (not null)
Creates a new TapestryXPath object.public void addNamespace(String prefix, String uri)
addNamespace
in interface org.jaxen.XPath
XPath.addNamespace(String, String)
public boolean booleanValueOf(Object node)
booleanValueOf
in interface org.jaxen.XPath
XPath.booleanValueOf(Object)
public String debug()
BaseXPath.debug()
public Object evaluate(Object arg0)
evaluate
in interface org.jaxen.XPath
XPath.evaluate(Object)
public org.jaxen.FunctionContext getFunctionContext()
getFunctionContext
in interface org.jaxen.XPath
XPath.getFunctionContext()
public org.jaxen.NamespaceContext getNamespaceContext()
getNamespaceContext
in interface org.jaxen.XPath
XPath.getNamespaceContext()
public org.jaxen.Navigator getNavigator()
getNavigator
in interface org.jaxen.XPath
XPath.getNavigator()
public org.jaxen.expr.Expr getRootExpr()
BaseXPath.getRootExpr()
public org.jaxen.VariableContext getVariableContext()
getVariableContext
in interface org.jaxen.XPath
XPath.getVariableContext()
public Number numberValueOf(Object node)
numberValueOf
in interface org.jaxen.XPath
XPath.numberValueOf(Object)
public List<org.apache.tapestry5.dom.Element> selectElements(Object node)
TapestryXPath.selectElements(Object)
public List<String> selectElementsAttribute(Object node, String attributeName)
public List<org.apache.tapestry5.dom.Node> selectNodes(Object node)
selectNodes
in interface org.jaxen.XPath
XPath.selectNodes(Object)
public org.apache.tapestry5.dom.Element selectSingleElement(Object node)
public Object selectSingleNode(Object node)
selectSingleNode
in interface org.jaxen.XPath
XPath.selectSingleNode(Object)
public static String normalizeText(String string)
TapestryXPath.normalizeText(String)
public void setFunctionContext(org.jaxen.FunctionContext functionContext)
setFunctionContext
in interface org.jaxen.XPath
XPath.setFunctionContext(FunctionContext)
public void setNamespaceContext(org.jaxen.NamespaceContext namespaceContext)
setNamespaceContext
in interface org.jaxen.XPath
XPath.setNamespaceContext(NamespaceContext)
public void setVariableContext(org.jaxen.VariableContext variableContext)
setVariableContext
in interface org.jaxen.XPath
XPath.setVariableContext(VariableContext)
public String stringValueOf(Object node)
stringValueOf
in interface org.jaxen.XPath
XPath.stringValueOf(Object)
public List<String> stringValuesOf(Object node)
TapestryXPath.stringValuesOf(Object)
@Deprecated public String valueOf(Object node)
valueOf
in interface org.jaxen.XPath
Copyright © 2009-2012. All Rights Reserved.