|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xml.utils.UnImplNode | +--weblogic.apache.xalan.templates.ElemTemplateElement | +--weblogic.apache.xalan.templates.ElemForEach | +--weblogic.apache.xalan.templates.ElemCallTemplate
Implement xsl:call-template.
&!ELEMENT xsl:call-template (xsl:with-param)*> &!ATTLIST xsl:call-template name %qname; #REQUIRED &
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Field Summary | |
protected java.util.Vector |
m_paramElems
Vector of xsl:param elements associated with this element. |
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. |
Fields inherited from class weblogic.apache.xalan.templates.ElemForEach |
m_sortElems |
Fields inherited from class weblogic.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber,
m_parentNode |
Constructor Summary | |
ElemCallTemplate()
|
Method Summary | |
org.w3c.dom.Node |
appendChild(org.w3c.dom.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,
org.w3c.dom.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 weblogic.apache.xalan.templates.ElemForEach |
getSelect,
getSelectOrDefault,
getSortElem,
getSortElemCount,
getTemplateMatch,
setSelect,
setSortElem,
sortNodes,
transformSelectedNodes |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public QName m_templateName
protected java.util.Vector m_paramElems
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, org.w3c.dom.Node sourceNode, QName mode) throws javax.xml.transform.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 org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) throws org.w3c.dom.DOMException
newChild
- Child to add to this node's children list
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |