jd.xml.xslt.trace
Class TraceExpression

java.lang.Object
  extended byjd.xml.xpath.expr.ExpressionImpl
      extended byjd.xml.xpath.expr.misc.ProxyExpression
          extended byjd.xml.xslt.trace.TraceExpression
All Implemented Interfaces:
Expression

class TraceExpression
extends ProxyExpression


Field Summary
 
Fields inherited from class jd.xml.xpath.expr.misc.ProxyExpression
expr_
 
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
TraceExpression(Tracer tracer, Location location, Expression expression, String source)
           
 
Method Summary
 Location getLocation()
           
 boolean toBooleanValue(XPathContext context)
          Evaluate the Expression to a boolean.
 double toNumberValue(XPathContext context)
          Evaluate the Expression to a number.
 String toStringValue(XPathContext context)
          Evaluate the Expression to a String.
 XObject toXObject(XPathContext context)
          Evaluate the expression to a XObject.
 
Methods inherited from class jd.xml.xpath.expr.misc.ProxyExpression
accept, getContextDependencies, getExpression, getResultType, isUniqueFilter, matchesFilter
 
Methods inherited from class jd.xml.xpath.expr.ExpressionImpl
hasContextDependencies, toNode, toNodeSet, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TraceExpression

public TraceExpression(Tracer tracer,
                       Location location,
                       Expression expression,
                       String source)
Method Detail

toXObject

public XObject toXObject(XPathContext context)
Description copied from interface: Expression
Evaluate the expression to a XObject.

Specified by:
toXObject in interface Expression
Overrides:
toXObject in class ProxyExpression

toNumberValue

public double toNumberValue(XPathContext context)
Description copied from interface: Expression
Evaluate the Expression to a number.

Specified by:
toNumberValue in interface Expression
Overrides:
toNumberValue in class ProxyExpression

toStringValue

public String toStringValue(XPathContext context)
Description copied from interface: Expression
Evaluate the Expression to a String.

Specified by:
toStringValue in interface Expression
Overrides:
toStringValue in class ProxyExpression

toBooleanValue

public boolean toBooleanValue(XPathContext context)
Description copied from interface: Expression
Evaluate the Expression to a boolean.

Specified by:
toBooleanValue in interface Expression
Overrides:
toBooleanValue in class ProxyExpression

getLocation

public Location getLocation()