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

pack-priv final Class AttributeSet

extends TopLevelElement
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.ConstantPoolGen, .INVOKESPECIAL, .InstructionList, com.sun.org.apache.xalan.internal.xsltc.compiler.util.AttributeSetMethodGenerator, .ClassGenerator, .ErrorMsg, .MethodGenerator, .Type, .TypeCheckError, .Util, com.sun.org.apache.xml.internal.utils.XML11Char, java.util.Iterator, .List

Authors
Jacek Ambroziak, Santiago Pericas-Geertsen, Morten Jorgensen

Field Summary

Modifier and TypeField and Description
private boolean
private AttributeSet
private String
private QName
private UseAttributeSets
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 String
getMethodName()

Returns the method name of this attribute set.

public QName
getName()

Returns the QName of this attribute set

public void
ignore()

Call this method to prevent a method for being compiled for this set.

public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public void
translate(ClassGenerator classGen, MethodGenerator methodGen)

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

Compile a method that outputs the attributes in this set

public Type
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.TopLevelElement:
addDependencycompiledisplaygetDependencies

Field Detail

_ignoreback to summary
private boolean _ignore
_mergeSetback to summary
private AttributeSet _mergeSet
_methodback to summary
private String _method
_nameback to summary
private QName _name
_useSetsback to summary
private UseAttributeSets _useSets
AttributeSetPrefixback to summary
private static final String AttributeSetPrefix

Constructor Detail

AttributeSetback to summary
pack-priv AttributeSet()

Method Detail

getMethodNameback to summary
public String getMethodName()

Returns the method name of this attribute set. This method name is generated by the compiler (XSLTC)

getNameback to summary
public QName getName()

Returns the QName of this attribute set

ignoreback to summary
public void ignore()

Call this method to prevent a method for being compiled for this set. This is used in case several <xsl:attribute-set...> elements constitute a single set (with one name). The last element will merge itself with any previous set(s) with the same name and disable the other set(s).

parseContentsback to summary
public void parseContents(Parser parser)

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

Parse the contents of this attribute set. Recognised attributes are "name" (required) and "use-attribute-sets" (optional).

toStringback to summary
public String toString()

Overrides java.lang.Object.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.TopLevelElement.translate.

Compile a method that outputs the attributes in this set

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

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

Type check the contents of this element