| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private AttributeValueTemplate | |
| private AttributeValueTemplate | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | display(int indent)
Overrides com. Displays the contents of the element |
| public void | parseContents(Parser parser)
Overrides com. Parse the contents of this syntax tree nodes (child nodes, XPath expressions, patterns and functions). |
| public void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. At runtime the compilation of xsl:element results in code that: (i) evaluates the avt for the name, (ii) checks for a prefix in the name (iii) generates a new prefix and create a new qname when necessary (iv) calls startElement() on the handler (v) looks up a uri in the XML when the prefix is not known at compile time (vi) calls namespace() on the handler (vii) evaluates the contents (viii) calls endElement(). |
| public void | translateContents(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Override this method to make sure that xsl:attributes are not copied to output if this xsl:element is to be ignored |
| public void | translateLiteral(ClassGenerator classGen, MethodGenerator methodGen)
This method is called when the name of the element is known at compile time. |
| public Type | typeCheck(SymbolTable stable)
Overrides com. Run type check on element name & contents |
| _ignore | back to summary |
|---|---|
| private boolean _ignore | |
| _isLiteralName | back to summary |
|---|---|
| private boolean _isLiteralName | |
| _name | back to summary |
|---|---|
| private AttributeValueTemplate _name | |
| _namespace | back to summary |
|---|---|
| private AttributeValueTemplate _namespace | |
| _prefix | back to summary |
|---|---|
| private String _prefix | |
| XslElement | back to summary |
|---|---|
| pack-priv XslElement() | |
| display | back to summary |
|---|---|
| public void display(int indent) Overrides com. Displays the contents of the element | |
| parseContents | back to summary |
|---|---|
| public void parseContents(Parser parser) Overrides com. Doc from com. Parse the contents of this syntax tree nodes (child nodes, XPath expressions, patterns and functions). The default behaviour is to parser the syntax tree node's children (since there are no common expressions, patterns, etc. that can be handled in this base class. | |
| translate | back to summary |
|---|---|
| public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. At runtime the compilation of xsl:element results in code that: (i) evaluates the avt for the name, (ii) checks for a prefix in the name (iii) generates a new prefix and create a new qname when necessary (iv) calls startElement() on the handler (v) looks up a uri in the XML when the prefix is not known at compile time (vi) calls namespace() on the handler (vii) evaluates the contents (viii) calls endElement(). | |
| translateContents | back to summary |
|---|---|
| public void translateContents(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Override this method to make sure that xsl:attributes are not copied to output if this xsl:element is to be ignored | |
| translateLiteral | back to summary |
|---|---|
| public void translateLiteral(ClassGenerator classGen, MethodGenerator methodGen) This method is called when the name of the element is known at compile time. In this case, there is no need to inspect the element name at runtime to determine if a prefix exists, needs to be generated, etc. | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Run type check on element name & contents | |