org.apache.xalan.templates
public class ElemNumber extends ElemTemplateElement
Method Summary | |
---|---|
ElemTemplateElement | appendChild(ElemTemplateElement newChild)
Add a child to the child list.
|
void | callChildVisitors(XSLTVisitor visitor, boolean callAttrs)
Call the children visitors. |
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 | execute(TransformerImpl transformer)
Execute an xsl:number instruction. |
XPath | getCount()
Get the "count" attribute.
|
AVT | getFormat()
Get the "format" attribute.
|
XPath | getFrom()
Get the "from" attribute.
|
AVT | getGroupingSeparator()
Get the "grouping-separator" attribute.
|
AVT | getGroupingSize()
Get the "grouping-size" attribute.
|
AVT | getLang()
Get the "lang" attribute.
|
AVT | getLetterValue()
Get the "letter-value" attribute.
|
int | getLevel()
Get the "level" attribute.
|
String | getNodeName()
Return the node name.
|
int | getPreviousNode(XPathContext xctxt, int pos)
Get the previous node to be counted.
|
int | getTargetNode(XPathContext xctxt, int sourceNode)
Get the target node that will be counted..
|
XPath | getValue()
Get the "value" attribute.
|
int | getXSLToken()
Get an int constant identifying the type of element. |
void | setCount(XPath v)
Set the "count" attribute.
|
void | setFormat(AVT v)
Set the "format" attribute.
|
void | setFrom(XPath v)
Set the "from" attribute. |
void | setGroupingSeparator(AVT v)
Set the "grouping-separator" attribute.
|
void | setGroupingSize(AVT v)
Set the "grouping-size" attribute.
|
void | setLang(AVT v)
Set the "lang" attribute.
|
void | setLetterValue(AVT v)
Set the "letter-value" attribute.
|
void | setLevel(int v)
Set the "level" attribute.
|
void | setValue(XPath v)
Set the "value" attribute.
|
Parameters: newChild Child to add to child list
Returns: Child just added to child list
Throws: DOMException
Parameters: visitor The visitor whose appropriate method will be called.
Parameters: transformer non-null reference to the the current transform-time state.
Throws: TransformerException
Returns: Value of "count" attribute.
Returns: Value of "format" attribute.
See Also: convert in XSLT Specification
Returns: Value of "from" attribute.
Returns: Value of "grouping-separator" attribute.
See Also: convert in XSLT Specification
Returns: Value of "grouping-size" attribute.
See Also: convert in XSLT Specification
Returns: Value ofr "lang" attribute.
See Also: convert in XSLT Specification
Returns: Value to set for "letter-value" attribute.
See Also: convert in XSLT Specification
Returns: Value of "level" attribute.
Returns: The element's name
Parameters: xctxt The XPath runtime state for this. pos The current node
Returns: the previous node to be counted.
Throws: TransformerException
Parameters: xctxt The XPath runtime state for this. sourceNode non-null reference to the current source node.
Returns: the target node that will be counted
Throws: TransformerException
Returns: Value of "value" attribute.
Returns: The token ID for this element
Parameters: v Value to set for "count" attribute.
Parameters: v Value to set for "format" attribute.
See Also: convert in XSLT Specification
Parameters: v Value to set for "from" attribute.
Parameters: v Value to set for "grouping-separator" attribute.
See Also: convert in XSLT Specification
Parameters: v Value to set for "grouping-size" attribute.
See Also: convert in XSLT Specification
Parameters: v Value to set for "lang" attribute.
See Also: convert in XSLT Specification
Parameters: v Value to set for "letter-value" attribute.
See Also: convert in XSLT Specification
Parameters: v Value to set for "level" attribute.
Parameters: v Value to set for "value" attribute.