APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.compiler

pack-priv final Class ContainsCall

extends FunctionCall
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.ConstantPoolGen, .IFLT, .INVOKEVIRTUAL, .InstructionList, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .ErrorMsg, .MethodGenerator, .Type, .TypeCheckError, java.util.List

Authors
Jacek Ambroziak, Santiago Pericas-Geertsen, Morten Jorgensen

Field Summary

Modifier and TypeField and Description
private Expression
private Expression
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall:
_thisArgumentEXSLT_COMMONEXSLT_DATETIMEEXSLT_MATHEXSLT_SETSEXSLT_STRINGSEXT_XALANEXT_XSLTCJAVA_EXT_XALANJAVA_EXT_XALAN_OLDJAVA_EXT_XSLTCNAMESPACE_FORMAT_CLASSNAMESPACE_FORMAT_CLASS_OR_PACKAGENAMESPACE_FORMAT_JAVANAMESPACE_FORMAT_PACKAGEXALAN_CLASSPACKAGE_NAMESPACE

Constructor Summary

AccessConstructor and Description
public
ContainsCall(QName fname, List<Expression> arguments)

Create a contains() call - two arguments, both strings

Method Summary

Modifier and TypeMethod and Description
public boolean
isBoolean()

This XPath function returns true/false values

public void
translate(ClassGenerator classGen, MethodGenerator methodGen)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.translate.

Compile the expression - leave boolean expression on stack

public void
public Type
typeCheck(SymbolTable stable)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.typeCheck.

Type check the two parameters for this function

Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall:
argumentargumentargumentCountgetClassNameFromUrigetNamegetSignaturegetSignaturegetSignatureisExtensionisStandardreplaceDashsetArgumentsetParsertoStringtypeCheckArgstypeCheckConstructortypeCheckExternaltypeCheckStandard

Field Detail

_baseback to summary
private Expression _base
_tokenback to summary
private Expression _token

Constructor Detail

ContainsCallback to summary
public ContainsCall(QName fname, List<Expression> arguments)

Create a contains() call - two arguments, both strings

Method Detail

isBooleanback to summary
public boolean isBoolean()

This XPath function returns true/false values

translateback to summary
public void translate(ClassGenerator classGen, MethodGenerator methodGen)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.translate.

Compile the expression - leave boolean expression on stack

translateDesynthesizedback to summary
public void translateDesynthesized(ClassGenerator classGen, MethodGenerator methodGen)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.translateDesynthesized.

Compile expression and update true/false-lists

typeCheckback to summary
public Type typeCheck(SymbolTable stable) throws TypeCheckError

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.typeCheck.

Type check the two parameters for this function