org.apache.xalan.templates
public class ElemTemplate extends ElemTemplateElement
See Also: section-Defining-Template-Rules in XSLT Specification
UNKNOWN: advanced
Field Summary | |
---|---|
int | m_frameSize
The stack frame size for this template, which is equal to the maximum number
of params and variables that can be declared in the template at one time. |
Method Summary | |
---|---|
void | compose(StylesheetRoot sroot)
This function is called after everything else has been
recomposed, and allows the template to set remaining
values that may be based on some other property that
depends on recomposition. |
void | endCompose(StylesheetRoot sroot)
This after the template's children have been composed. |
void | execute(TransformerImpl transformer)
Copy the template contents into the result tree.
|
XPath | getMatch()
Get the "match" attribute.
|
QName | getMode()
Get the "mode" attribute.
|
QName | getName()
Get the "name" attribute.
|
String | getNodeName()
Return the node name.
|
double | getPriority()
Get the "priority" attribute.
|
String | getPublicId()
Return the public identifier for the current document event.
|
Stylesheet | getStylesheet()
Get the owning stylesheet.
|
StylesheetComposed | getStylesheetComposed()
Get the stylesheet composed (resolves includes and
imports and has methods on it that return "composed" properties.
|
StylesheetRoot | getStylesheetRoot()
Get the root stylesheet.
|
String | getSystemId()
Return the system identifier for the current document event.
|
int | getXSLToken()
Get an int constant identifying the type of element. |
void | recompose(StylesheetRoot root)
This function is called during recomposition to
control how this element is composed. |
void | setLocaterInfo(SourceLocator locator)
Set the location information for this element.
|
void | setMatch(XPath v)
Set the "match" attribute.
|
void | setMode(QName v)
Set the "mode" attribute.
|
void | setName(QName v)
Set the "name" attribute.
|
void | setPriority(double v)
Set the "priority" attribute.
|
void | setStylesheet(Stylesheet sheet)
Set the owning stylesheet.
|
Parameters: transformer non-null reference to the the current transform-time state.
Throws: TransformerException
Returns: Value of the "match" attribute
See Also: patterns in XSLT Specification
Returns: Value of the "mode" attribute
See Also: modes in XSLT Specification
Returns: Value of the "name" attribute
See Also: named-templates in XSLT Specification
Returns: The element's name
Returns: The value of the "priority" attribute
See Also: conflict in XSLT Specification
This will be the public identifier
Returns: A string containing the public identifier, or null if none is available.
See Also: ElemTemplate
Returns: The owning stylesheet.
Returns: The stylesheet composed.
Returns: The root stylesheet for this element
If the system identifier is a URL, the parser must resolve it fully before passing it to the application.
Returns: A string containing the system identifier, or null if none is available.
See Also: ElemTemplate
Parameters: root The root stylesheet for this transformation.
Parameters: locator SourceLocator holding location information
Parameters: v Value to set for the "match" attribute
See Also: patterns in XSLT Specification
Parameters: v Value to set the "mode" attribute
See Also: modes in XSLT Specification
Parameters: v Value to set the "name" attribute
See Also: named-templates in XSLT Specification
Parameters: v The value to set for the "priority" attribute
See Also: conflict in XSLT Specification
Parameters: sheet The owning stylesheet for this element