|
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.ElemTemplate
Implement xsl:template.
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 | |
int |
m_frameSize
The stack frame size for this template, which is equal to the maximum number of params and variables that can be declared in the template at one time. |
Fields inherited from class weblogic.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber,
m_hasVariableDecl,
m_parentNode |
Constructor Summary | |
ElemTemplate()
|
Method Summary | |
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)
Copy the template contents into the result tree. |
XPath |
getMatch()
Get the "match" attribute. |
QName |
getMode()
Get the "mode" attribute. |
QName |
getName()
Get the "name" attribute. |
java.lang.String |
getNodeName()
Return the node name. |
double |
getPriority()
Get the "priority" attribute. |
java.lang.String |
getPublicId()
Return the public identifier for the current document event. |
Stylesheet |
getStylesheet()
Get the owning stylesheet. |
StylesheetComposed |
getStylesheetComposed()
Get the stylesheet composed (resolves includes and imports and has methods on it that return "composed" properties. |
StylesheetRoot |
getStylesheetRoot()
Get the root stylesheet. |
java.lang.String |
getSystemId()
Return the system identifier for the current document event. |
int |
getXSLToken()
Get an int constant identifying the type of element. |
void |
recompose(StylesheetRoot root)
This function is called during recomposition to control how this element is composed. |
void |
setLocaterInfo(javax.xml.transform.SourceLocator locator)
Set the location information for this element. |
void |
setMatch(XPath v)
Set the "match" attribute. |
void |
setMode(QName v)
Set the "mode" attribute. |
void |
setName(QName v)
Set the "name" attribute. |
void |
setPriority(double v)
Set the "priority" attribute. |
void |
setStylesheet(Stylesheet sheet)
Set the owning stylesheet. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public int m_frameSize
Constructor Detail |
public ElemTemplate()
Method Detail |
public java.lang.String getPublicId()
This will be the public identifier
getSystemId()
public java.lang.String getSystemId()
If the system identifier is a URL, the parser must resolve it fully before passing it to the application.
getPublicId()
public void setLocaterInfo(javax.xml.transform.SourceLocator locator)
locator
- SourceLocator holding location informationpublic StylesheetComposed getStylesheetComposed()
public Stylesheet getStylesheet()
public void setStylesheet(Stylesheet sheet)
sheet
- The owning stylesheet for this elementpublic StylesheetRoot getStylesheetRoot()
public void setMatch(XPath v)
v
- Value to set for the "match" attributepublic XPath getMatch()
public void setName(QName v)
v
- Value to set the "name" attributepublic QName getName()
public void setMode(QName v)
v
- Value to set the "mode" attributepublic QName getMode()
public void setPriority(double v)
v
- The value to set for the "priority" attributepublic double getPriority()
public int getXSLToken()
Constants
public java.lang.String getNodeName()
public void compose(StylesheetRoot sroot) throws javax.xml.transform.TransformerException
public void endCompose(StylesheetRoot sroot) throws javax.xml.transform.TransformerException
public void execute(TransformerImpl transformer) 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 void recompose(StylesheetRoot root)
root
- The root stylesheet for this transformation.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |