|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.UnImplNode | +--org.apache.xalan.templates.ElemTemplateElement | +--org.apache.xalan.templates.ElemForEach | +--org.apache.xalan.templates.ElemCallTemplate
**For advanced use only** Implement xsl:call-template.
&!ELEMENT xsl:call-template (xsl:with-param)*> &!ATTLIST xsl:call-template name %qname; #REQUIRED &
Field Summary | |
QName |
m_templateName
An xsl:call-template element invokes a template by name; it has a required name attribute that identifies the template to be invoked. |
Constructor Summary | |
ElemCallTemplate()
|
Method Summary | |
Node |
appendChild(Node newChild)
Add a child to the child list. |
void |
compose()
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,
Node sourceNode,
QName mode)
Invoke a named template. |
QName |
getName()
Get the "name" attribute. |
java.lang.String |
getNodeName()
Return the node name. |
ElemWithParam |
getParamElem(int i)
Get a xsl:param element associated with this element. |
int |
getParamElemCount()
Get the count xsl:param elements associated with this element. |
int |
getXSLToken()
Get an int constant identifying the type of element. |
void |
setName(QName name)
Set the "name" attribute. |
void |
setParamElem(ElemWithParam ParamElem)
Set a xsl:param element associated with this element. |
Methods inherited from class org.apache.xalan.templates.ElemForEach |
getSelect,
getSelectOrDefault,
getSortElem,
getSortElemCount,
setSelect,
setSortElem,
transformSelectedNodes |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public QName m_templateName
Constructor Detail |
public ElemCallTemplate()
Method Detail |
public void setName(QName name)
name
- Name attribute to setpublic QName getName()
public int getXSLToken()
Constants
public java.lang.String getNodeName()
public void compose()
public void execute(TransformerImpl transformer, Node sourceNode, QName mode) throws TransformerException
transformer
- non-null reference to the the current transform-time state.sourceNode
- non-null reference to the current source node.mode
- reference, which may be null, to the current mode.public int getParamElemCount()
public ElemWithParam getParamElem(int i)
i
- Index of element to findpublic void setParamElem(ElemWithParam ParamElem)
ParamElem
- xsl:param element to set.public Node appendChild(Node newChild) throws DOMException
newChild
- Child to add to this node's children list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |