public class DuplexExpression extends Object
Modifier and Type | Method and Description |
---|---|
Node |
createChildWithPredicate(Node parentNode) |
void |
deleteAllMatchingChildren(Node parentNode) |
void |
dump()
Dumps the tree behind the expression for debugging purpose.
|
Node |
ensureExistence(Node contextNode)
Creates nodes until selecting such a path would return something.
|
Element |
ensureParentExistence(Node contextNode) |
String |
getExpressionAsStringWithoutFormatPatterns() |
String |
getExpressionFormatPattern() |
ExpressionType |
getExpressionType()
Calculates the return type of the expression.
|
String |
getVariableFormatPattern(String name) |
boolean |
isUsingVariables() |
DuplexExpression |
setXPathVariableResolver(XPathVariableResolver resolver) |
String |
toString() |
public DuplexExpression setXPathVariableResolver(XPathVariableResolver resolver)
resolver
- public boolean isUsingVariables()
public ExpressionType getExpressionType()
public Node ensureExistence(Node contextNode)
contextNode
- public Element ensureParentExistence(Node contextNode)
contextNode
- public void deleteAllMatchingChildren(Node parentNode)
parentNode
- public Node createChildWithPredicate(Node parentNode)
parentNode
- public void dump()
public String getExpressionFormatPattern()
public String getExpressionAsStringWithoutFormatPatterns()
Copyright © 2012-12-21-2022. All Rights Reserved.