compose
public void compose(StylesheetRoot sroot)
throws TransformerException
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.
- compose in interface ElemTemplateElement
getElement
public String getElement(int i)
throws ArrayIndexOutOfBoundsException
Get the element at the given index
i
- Index of element to get
- The element at the given index
getElementCount
public int getElementCount()
Return the count of elements defined for this extension element
- the count of elements defined for this extension element
getElements
public StringVector getElements()
Get StringVector of elements defined for this extension
- StringVector of elements defined for this extension
getFunction
public String getFunction(int i)
throws ArrayIndexOutOfBoundsException
Get a function at a given index in this extension element
i
- Index of function to get
- Name of Function at given index
getFunctionCount
public int getFunctionCount()
Get count of functions defined in this extension element
- count of functions defined in this extension element
getFunctions
public StringVector getFunctions()
Get the names of functions defined in this extension
- StringVector holding the names of functions defined in this extension
getPrefix
public String getPrefix()
Get the prefix for this extension element
- getPrefix in interface UnImplNode
- Prefix for this extension element
getXSLToken
public int getXSLToken()
Get an int constant identifying the type of element.
- getXSLToken in interface ElemTemplateElement
- The token ID for this element
runtimeInit
public void runtimeInit(TransformerImpl transformer)
throws TransformerException
This function will be called on top-level elements
only, just before the transform begins.
- runtimeInit in interface ElemTemplateElement
transformer
- The XSLT TransformerFactory.
setElements
public void setElements(StringVector v)
Set StringVector of elements for this extension
v
- StringVector of elements to set
setFunctions
public void setFunctions(StringVector v)
Set the names of functions defined in this extension
v
- StringVector holding the names of functions defined in this extension
setPrefix
public void setPrefix(String v)
Set the prefix for this extension element
- setPrefix in interface UnImplNode
v
- Prefix to set for this extension element