|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xpath.expr.ExpressionImpl
jd.xml.xpath.expr.NodeSetExpression
jd.xml.xslt.expr.TextContentExpression
A NodeSet constructed by the template of a variable binding element. It consists of a single root node having a single text node as child.
Field Summary |
Fields inherited from interface jd.xml.xpath.expr.Expression |
DEP_CONTEXT_NODE, DEP_CONTEXT_POSITION, DEP_CONTEXT_SIZE, DEP_CONTEXT_STATIC, DEP_NONE, DEP_UNKNOWN |
Constructor Summary | |
TextContentExpression(String text)
|
Method Summary | |
void |
accept(ExpressionVisitor visitor)
Accept a ExpressionVisitor. |
int |
getContextDependencies()
Return a bitfield indicating the expression dependencies on the XPath context. |
int |
getMaxResultSize()
Return the maximum size of the returned NodeSet or 0 if not known. |
int |
getMinResultSize()
Return the minimum size of the returned NodeSet or 0 if not known. |
boolean |
toBooleanValue(XPathContext context)
Evaluate the Expression to a boolean. |
XNodeSet |
toNodeSet(XPathContext context,
int nodeSetOrdering)
Evaluate the Expression to a XObject and convert to a XNodeSet. |
double |
toNumberValue(XPathContext context)
Evaluate the Expression to a number. |
String |
toStringValue(XPathContext context)
Evaluate the Expression to a String. |
Methods inherited from class jd.xml.xpath.expr.NodeSetExpression |
canCreateModelWalker, getMaxResultSize, getMinResultSize, getModelWalker, getResultType, toXObject |
Methods inherited from class jd.xml.xpath.expr.ExpressionImpl |
hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TextContentExpression(String text)
Method Detail |
public double toNumberValue(XPathContext context)
NodeSetExpression
toNumberValue
in interface Expression
toNumberValue
in class NodeSetExpression
public String toStringValue(XPathContext context)
NodeSetExpression
toStringValue
in interface Expression
toStringValue
in class NodeSetExpression
public boolean toBooleanValue(XPathContext context)
NodeSetExpression
toBooleanValue
in interface Expression
toBooleanValue
in class NodeSetExpression
public XNodeSet toNodeSet(XPathContext context, int nodeSetOrdering)
ExpressionImpl
toNodeSet
in interface Expression
toNodeSet
in class ExpressionImpl
public int getMaxResultSize()
NodeSetExpression
getMaxResultSize
in class NodeSetExpression
public int getMinResultSize()
NodeSetExpression
getMinResultSize
in class NodeSetExpression
public int getContextDependencies()
Expression
public void accept(ExpressionVisitor visitor)
Expression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |