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

pack-priv Class NameBase

extends FunctionCall
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xalan.internal.xsltc.compiler.NameCall, com.sun.org.apache.xalan.internal.xsltc.compiler.NamespaceUriCall, com.sun.org.apache.xalan.internal.xsltc.compiler.LocalNameCall
Imports
com.sun.org.apache.bcel.internal.generic.ConstantPoolGen, .INVOKESTATIC, .InstructionList, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .MethodGenerator, .Type, .TypeCheckError, java.util.List

Authors
Morten Jorgensen, Erwin Bolwidt

Field Summary

Modifier and TypeField and Description
private Expression
private Type
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
NameBase(QName fname)

Handles calls with no parameter (current node is implicit parameter).

public
NameBase(QName fname, List<Expression> arguments)

Handles calls with one parameter (either node or node-set).

Method Summary

Modifier and TypeMethod and Description
public Type
public void
translate(ClassGenerator classGen, MethodGenerator methodGen)

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

Translate the code required for getting the node for which the QName, local-name or namespace URI should be extracted.

public Type
typeCheck(SymbolTable stable)

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

Check that we either have no parameters or one parameter that is either a node or a node-set.

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

Field Detail

_paramback to summary
private Expression _param
_paramTypeback to summary
private Type _paramType

Constructor Detail

NameBaseback to summary
public NameBase(QName fname)

Handles calls with no parameter (current node is implicit parameter).

NameBaseback to summary
public NameBase(QName fname, List<Expression> arguments)

Handles calls with one parameter (either node or node-set).

Method Detail

getTypeback to summary
public Type getType()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.getType.

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

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

Translate the code required for getting the node for which the QName, local-name or namespace URI should be extracted.

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

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

Check that we either have no parameters or one parameter that is either a node or a node-set.