|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xslt.TemplateList
Encapsulates a template list, and helps locate individual templates.
Method Summary | |
ElemTemplate |
findTemplate(XSLTEngineImpl transformContext,
Node sourceTree,
Node targetNode,
QName mode,
boolean useImports)
Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft. |
ElemTemplateElement |
getFirstTemplate()
Get the first template of the template children. |
boolean |
getIsWrapperless()
Get if the stylesheet is without an xsl:stylesheet and xsl:template wrapper. |
java.util.Hashtable |
getNamedTemplates()
Get table of named Templates. |
Stylesheet |
getStylesheet()
Get the stylesheet owner of the list. |
ElemTemplate |
getWrapperlessTemplate()
Get the manufactured template if there is no wrapper. |
void |
setFirstTemplate(ElemTemplateElement v)
Set the first template of the template children. |
void |
setNamedTemplates(java.util.Hashtable v)
Set table of named Templates. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public Stylesheet getStylesheet()
public ElemTemplateElement getFirstTemplate()
public void setFirstTemplate(ElemTemplateElement v)
public boolean getIsWrapperless()
public ElemTemplate getWrapperlessTemplate()
public java.util.Hashtable getNamedTemplates()
public void setNamedTemplates(java.util.Hashtable v)
public ElemTemplate findTemplate(XSLTEngineImpl transformContext, Node sourceTree, Node targetNode, QName mode, boolean useImports) throws SAXException
stylesheetTree
- Where the XSL rules are to be found.sourceTree
- Where the targetElem is to be found.targetElem
- The element that needs a rule.mode
- A string indicating the display mode.useImports
- means that this is an xsl:apply-imports commend.
|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |