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

pack-priv final Class ApplyImports

extends Instruction
Class Inheritance
Imports
java.util.Enumeration, com.sun.org.apache.bcel.internal.generic.ConstantPoolGen, .INVOKESPECIAL, .INVOKEVIRTUAL, .InstructionList, .NEW, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .MethodGenerator, .Type, .TypeCheckError, .Util

Field Summary

Modifier and TypeField and Description
private QName
private int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
display(int indent)

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

Displays the contents of this syntax tree node (to stdout).

private int
getMinPrecedence(int max)

Determine the lowest import precedence for any stylesheet imported or included by the stylesheet in which this <xsl:apply-imports/> element occured.

public boolean
hasWithParams()

Returns true if this <xsl:apply-imports/> element has parameters

public void
parseContents(Parser parser)

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

Parse the attributes and contents of an <xsl:apply-imports/> element.

public void
public Type
typeCheck(SymbolTable stable)

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

Type-check the attributes/contents of an <xsl:apply-imports/> element.

Field Detail

_modeNameback to summary
private QName _modeName
_precedenceback to summary
private int _precedence

Constructor Detail

ApplyImportsback to summary
pack-priv ApplyImports()

Method Detail

displayback to summary
public void display(int indent)

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

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

Displays the contents of this syntax tree node (to stdout). This method is intended for debugging _only_, and should be overridden by all syntax tree node implementations.

getMinPrecedenceback to summary
private int getMinPrecedence(int max)

Determine the lowest import precedence for any stylesheet imported or included by the stylesheet in which this <xsl:apply-imports/> element occured. The templates that are imported by the stylesheet in which this element occured will all have higher import precedence than the integer returned by this method.

hasWithParamsback to summary
public boolean hasWithParams()

Returns true if this <xsl:apply-imports/> element has parameters

parseContentsback to summary
public void parseContents(Parser parser)

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

Parse the attributes and contents of an <xsl:apply-imports/> element.

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

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

Translate call-template. A parameter frame is pushed only if some template in the stylesheet uses parameters.

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

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

Type-check the attributes/contents of an <xsl:apply-imports/> element.