com.ricebridge.xmlman.in.test
Class DirectExpression

java.lang.Object
  extended bycom.ricebridge.xmlman.in.ExpressionSupport
      extended bycom.ricebridge.xmlman.in.test.DirectExpression
All Implemented Interfaces:
Expression

public class DirectExpression
extends ExpressionSupport

Expression that accesses a TargetPath directly - used for testing.

The Source Code of this Java class is available under a BSD-style license.


Constructor Summary
DirectExpression(TargetPath pTargetPath)
          Pass in the TargetPath that will provide the value directly.
 
Method Summary
protected  String resolveImpl(com.ricebridge.xmlman.tp.Context pContext)
          Just get the value from the TargetPath.
 String toString()
          Debugging description.
 
Methods inherited from class com.ricebridge.xmlman.in.ExpressionSupport
resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectExpression

public DirectExpression(TargetPath pTargetPath)
Pass in the TargetPath that will provide the value directly.

Method Detail

resolveImpl

protected String resolveImpl(com.ricebridge.xmlman.tp.Context pContext)
Just get the value from the TargetPath.

Specified by:
resolveImpl in class ExpressionSupport

toString

public String toString()
Debugging description.



Copyright © 2004-2005 Ricebridge