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

pack-priv final Class DecimalFormatting

extends TopLevelElement
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.ConstantPoolGen, .GETSTATIC, .INVOKESPECIAL, .INVOKEVIRTUAL, .InstructionList, .NEW, .PUSH, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .ErrorMsg, .MethodGenerator, .Type, .TypeCheckError, com.sun.org.apache.xml.internal.utils.XML11Char

Authors
Jacek Ambroziak, Santiago Pericas-Geertsen, Morten Jorgensen

Field Summary

Modifier and TypeField and Description
private QName
private static final String
private static final String
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.TopLevelElement:
_dependencies

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
parseContents(Parser
reference to the XSLT parser
parser
)

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

Parse the name of the <xsl:decimal-formatting/> element
public void
translate(ClassGenerator
BCEL Java class generator
classGen
,
MethodGenerator
BCEL Java method generator
methodGen
)

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

This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed.
public static void
translateDefaultDFS(ClassGenerator classGen, MethodGenerator methodGen)

Creates the default, nameless, DecimalFormat object in AbstractTranslet's format_symbols hashtable.

public Type
typeCheck(SymbolTable
The compiler/parser's symbol table
stable
)

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

No type check needed for the <xsl:decimal-formatting/> element
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.TopLevelElement:
addDependencycompiledisplaygetDependencies

Field Detail

_nameback to summary
private QName _name
DFS_CLASSback to summary
private static final String DFS_CLASS
DFS_SIGback to summary
private static final String DFS_SIG

Constructor Detail

DecimalFormattingback to summary
pack-priv DecimalFormatting()

Method Detail

parseContentsback to summary
public void parseContents(Parser parser)

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

Parse the name of the <xsl:decimal-formatting/> element

Parameters
parser:Parser

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

reference to the XSLT parser

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

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

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

Parameters
classGen:ClassGenerator

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

BCEL Java class generator

methodGen:MethodGenerator

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

BCEL Java method generator

translateDefaultDFSback to summary
public static void translateDefaultDFS(ClassGenerator classGen, MethodGenerator methodGen)

Creates the default, nameless, DecimalFormat object in AbstractTranslet's format_symbols hashtable. This should be called for every stylesheet, and the entry may be overridden by later nameless xsl:decimal-format instructions.

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

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

No type check needed for the <xsl:decimal-formatting/> element

Parameters
stable:SymbolTable

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

The compiler/parser's symbol table