org.apache.xalan.templates

Class ElemExtensionCall

public class ElemExtensionCall extends ElemLiteralResult

Implement an extension element.

See Also: extension-element in XSLT Specification

UNKNOWN: advanced

Method Summary
voidcompose(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.
voidexecute(TransformerImpl transformer)
Execute an extension.
StringgetAttribute(String rawName, Node sourceNode, TransformerImpl transformer)
Return the value of the attribute interpreted as an Attribute Value Template (in other words, you can use curly expressions such as href="http://{website}".
intgetXSLToken()
Get an int constant identifying the type of element.

Method Detail

compose

public 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.

execute

public void execute(TransformerImpl transformer)
Execute an extension.

Parameters: transformer non-null reference to the the current transform-time state.

Throws: TransformerException

getAttribute

public String getAttribute(String rawName, Node sourceNode, TransformerImpl transformer)
Return the value of the attribute interpreted as an Attribute Value Template (in other words, you can use curly expressions such as href="http://{website}".

Parameters: rawName Raw name of the attribute to get sourceNode non-null reference to the current source node. transformer non-null reference to the the current transform-time state.

Returns: the value of the attribute

Throws: TransformerException

getXSLToken

public int getXSLToken()
Get an int constant identifying the type of element.

Returns: The token ID for this element

See Also:

Copyright B) 2005 Apache XML Project. All Rights Reserved.