|
||||||||||
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
**For advanced use only** Implement xsl:for-each.
Field Summary | |
boolean |
m_doc_cache_off
This is set by an "xalan:doc-cache-off" pi. |
Constructor Summary | |
ElemForEach()
Construct a element representing xsl:for-each. |
Method Summary | |
ElemTemplateElement |
appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
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 |
endCompose(StylesheetRoot sroot)
This after the template's children have been composed. |
void |
execute(TransformerImpl transformer)
Execute the xsl:for-each transformation |
java.lang.String |
getNodeName()
Return the node name. |
Expression |
getSelect()
Get the "select" attribute. |
ElemSort |
getSortElem(int i)
Get a xsl:sort element associated with this element. |
int |
getSortElemCount()
Get the count xsl:sort elements associated with this element. |
int |
getXSLToken()
Get an int constant identifying the type of element. |
void |
setSelect(XPath xpath)
Set the "select" attribute. |
void |
setSortElem(ElemSort sortElem)
Set a xsl:sort element associated with this element. |
DTMIterator |
sortNodes(XPathContext xctxt,
java.util.Vector keys,
DTMIterator sourceNodes)
Sort given nodes |
void |
transformSelectedNodes(TransformerImpl transformer)
**For advanced use only** Perform a query if needed, and call transformNode for each child. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public boolean m_doc_cache_off
Constructor Detail |
public ElemForEach()
Method Detail |
public void setSelect(XPath xpath)
xpath
- The XPath expression for the "select" attribute.public Expression getSelect()
public void compose(StylesheetRoot sroot) throws TransformerException
public void endCompose(StylesheetRoot sroot) throws TransformerException
public int getSortElemCount()
public ElemSort getSortElem(int i)
i
- Index of xsl:sort element to getpublic void setSortElem(ElemSort sortElem)
sortElem
- xsl:sort element to setpublic int getXSLToken()
Constants
public java.lang.String getNodeName()
public void execute(TransformerImpl transformer) throws TransformerException
transformer
- non-null reference to the the current transform-time state.public DTMIterator sortNodes(XPathContext xctxt, java.util.Vector keys, DTMIterator sourceNodes) throws TransformerException
xctxt
- The XPath runtime state for the sort.keys
- Vector of sort keyxsourceNodes
- Iterator of nodes to sortpublic void transformSelectedNodes(TransformerImpl transformer) throws TransformerException
transformer
- non-null reference to the the current transform-time state.template
- The owning template context.public ElemTemplateElement appendChild(ElemTemplateElement newChild)
newChild
- Child to add to child list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |