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

pack-priv abstract Class IdKeyPattern

extends LocationPathPattern
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xalan.internal.xsltc.compiler.IdPattern, com.sun.org.apache.xalan.internal.xsltc.compiler.KeyPattern
Imports
com.sun.org.apache.bcel.internal.generic.ConstantPoolGen, .GOTO, .IFNE, .INVOKEINTERFACE, .INVOKEVIRTUAL, .InstructionList, .PUSH, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .MethodGenerator, .Type, .TypeCheckError

Authors
Jacek Ambroziak, Santiago Pericas-Geertsen

Field Summary

Modifier and TypeField and Description
private String
protected RelativePathPattern
private String

Constructor Summary

AccessConstructor and Description
public
IdKeyPattern(String index, String value)

Method Summary

Modifier and TypeMethod and Description
public String
public StepPattern
public boolean
public void
public void
public String
toString()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.LocationPathPattern.toString.

Returns a string representation of the object.

public void
translate(ClassGenerator classGen, MethodGenerator methodGen)

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

This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed.

public Type
typeCheck(SymbolTable stable)

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

Returns the type of a pattern, which is always a NodeType.

Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.LocationPathPattern:
getAxisgetDefaultPrioritygetPrioritygetTemplatenoSmallerThansetTemplate

Field Detail

_indexback to summary
private String _index
_leftback to summary
protected RelativePathPattern _left
_valueback to summary
private String _value

Constructor Detail

IdKeyPatternback to summary
public IdKeyPattern(String index, String value)

Method Detail

getIndexNameback to summary
public String getIndexName()
getKernelPatternback to summary
public StepPattern getKernelPattern()

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.LocationPathPattern.getKernelPattern.

isWildcardback to summary
public boolean isWildcard()

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.LocationPathPattern.isWildcard.

reduceKernelPatternback to summary
public void reduceKernelPattern()

Implements abstract com.sun.org.apache.xalan.internal.xsltc.compiler.LocationPathPattern.reduceKernelPattern.

setLeftback to summary
public void setLeft(RelativePathPattern left)
toStringback to summary
public String toString()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.LocationPathPattern.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.LocationPathPattern.translate.

This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed.

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

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

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

Returns the type of a pattern, which is always a NodeType. A NodeType has a number of subtypes defined by NodeType._type corresponding to each type of node.