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

pack-priv final Class ParentLocationPath

extends RelativeLocationPath
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.ALOAD, .ASTORE, .ConstantPoolGen, .INVOKEINTERFACE, .INVOKESPECIAL, .INVOKEVIRTUAL, .InstructionList, .LocalVariableGen, .NEW, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .MethodGenerator, .Type, .TypeCheckError, .Util, com.sun.org.apache.xml.internal.dtm.Axis, .DTM

Authors
Jacek Ambroziak, Santiago Pericas-Geertsen

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
private final RelativeLocationPath
private Expression
private Type

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
checkAxisMismatch()

This method is used to determine if this parent location path is a combination of two step's with axes that will create duplicate or unordered nodes.

public void
public int
public RelativeLocationPath
public Expression
public void
public void
public String
toString()

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.toString.

Returns a string representation of the object.

public void
translate(ClassGenerator classGen, MethodGenerator methodGen)

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

Translate this node into JVM bytecodes.

public void
public Type
typeCheck(SymbolTable stable)

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

Type check all the children of this node.

Field Detail

_axisMismatchback to summary
private boolean _axisMismatch
_orderNodesback to summary
private boolean _orderNodes
_pathback to summary
private final RelativeLocationPath _path
_stepback to summary
private Expression _step
stypeback to summary
private Type stype

Constructor Detail

ParentLocationPathback to summary
public ParentLocationPath(RelativeLocationPath path, Expression step)

Method Detail

checkAxisMismatchback to summary
public boolean checkAxisMismatch()

This method is used to determine if this parent location path is a combination of two step's with axes that will create duplicate or unordered nodes.

enableNodeOrderingback to summary
public void enableNodeOrdering()
getAxisback to summary
public int getAxis()

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.RelativeLocationPath.getAxis.

getPathback to summary
public RelativeLocationPath getPath()
getStepback to summary
public Expression getStep()
setAxisback to summary
public void setAxis(int axis)

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.RelativeLocationPath.setAxis.

setParserback to summary
public void setParser(Parser parser)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.setParser.

Doc from com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.setParser.

Set this node's parser. The parser (the XSLT parser) gives this syntax tree node access to the symbol table and XPath parser.

toStringback to summary
public String toString()

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

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

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

Doc from com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.translate.

Translate this node into JVM bytecodes.

translateStepback to summary
public void translateStep(ClassGenerator classGen, MethodGenerator methodGen)
typeCheckback to summary
public Type typeCheck(SymbolTable stable) throws TypeCheckError

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

Doc from com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.typeCheck.

Type check all the children of this node.