TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.provisional.sun50.fastxpath.functions
Class EFunction2Args

java.lang.Object
  extended byorg.eclipse.tptp.platform.provisional.sun50.fastxpath.EExpression
      extended byorg.eclipse.tptp.platform.provisional.sun50.fastxpath.functions.EFunction
          extended byorg.eclipse.tptp.platform.provisional.sun50.fastxpath.functions.EFunctionOneArg
              extended byorg.eclipse.tptp.platform.provisional.sun50.fastxpath.functions.EFunction2Args
All Implemented Interfaces:
IExpression
Direct Known Subclasses:
EFuncContains, EFuncStartsWith, EFuncSubstringAfter, EFuncSubstringBefore, EFunction3Args

public class EFunction2Args
extends EFunctionOneArg


Field Summary
protected  IExpression eArg1
           
 
Fields inherited from class org.eclipse.tptp.platform.provisional.sun50.fastxpath.functions.EFunctionOneArg
eArg0
 
Constructor Summary
EFunction2Args(Function2Args f2a)
           
 
Method Summary
protected  Expression getArg1()
           
protected  double getArg1AsNumber(FastXPathContext context)
           
protected  XString getArg1AsString(FastXPathContext context)
           
 IExpression getEArg1()
           
 IExpression instance(Expression e)
           
 void linkParent(IExpression parent)
           
 void printGraph(int level)
           
 void setEArg1(IExpression expression)
           
 
Methods inherited from class org.eclipse.tptp.platform.provisional.sun50.fastxpath.functions.EFunctionOneArg
callArgVisitors, checkNumberArgs, fixupVariables, getArg0, getArg0AsNumber, getArg0AsString, getEArg0, getExpression, setArg, setEArg0, setExpression
 
Methods inherited from class org.eclipse.tptp.platform.provisional.sun50.fastxpath.functions.EFunction
getArgAsNumber, getArgAsString
 
Methods inherited from class org.eclipse.tptp.platform.provisional.sun50.fastxpath.EExpression
compile, execute, getParent, indent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eArg1

protected IExpression eArg1
Constructor Detail

EFunction2Args

public EFunction2Args(Function2Args f2a)
Parameters:
f2a -
Method Detail

instance

public IExpression instance(Expression e)
Overrides:
instance in class EFunctionOneArg
See Also:
org.eclipse.tptp.platform.provisional.sun50.fastxpath.functions.EFunctionOneArg#instance(com.sun.org.apache.xpath.internal.Expression)

getArg1

protected Expression getArg1()

printGraph

public void printGraph(int level)
Specified by:
printGraph in interface IExpression
Overrides:
printGraph in class EFunctionOneArg
See Also:
EFunctionOneArg.printGraph(int)

getEArg1

public IExpression getEArg1()
Returns:
argument #1

setEArg1

public void setEArg1(IExpression expression)
Parameters:
expression -

linkParent

public void linkParent(IExpression parent)
Specified by:
linkParent in interface IExpression
Overrides:
linkParent in class EFunctionOneArg
See Also:
org.eclipse.tptp.platform.provisional.sun50.fastxpath.functions.EFunctionOneArg#linkParent(org.eclipse.tptp.platform.provisional.sun50.fastxpath.EExpression)

getArg1AsString

protected XString getArg1AsString(FastXPathContext context)
                           throws javax.xml.transform.TransformerException,
                                  ExpressionEvaluationException
Throws:
javax.xml.transform.TransformerException
ExpressionEvaluationException

getArg1AsNumber

protected double getArg1AsNumber(FastXPathContext context)
                          throws javax.xml.transform.TransformerException,
                                 ExpressionEvaluationException
Throws:
javax.xml.transform.TransformerException
ExpressionEvaluationException

TPTP 4.2.0 Platform Project
Public API Specification