|
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.ElemVariable
Implement xsl:variable.
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.
Fields inherited from class weblogic.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber,
m_parentNode |
Constructor Summary | |
ElemVariable()
Constructor ElemVariable |
|
ElemVariable(ElemVariable param)
Copy constructor. |
Method Summary | |
void |
execute(TransformerImpl transformer,
org.w3c.dom.Node sourceNode,
QName mode)
Execute a variable declaration and push it onto the variable stack. |
boolean |
getIsTopLevel()
Get if this is a top-level variable or param, or not. |
QName |
getName()
Get the "name" attribute. |
java.lang.String |
getNodeName()
Return the node name. |
XPath |
getSelect()
Get the "select" attribute. |
XObject |
getValue(TransformerImpl transformer,
org.w3c.dom.Node sourceNode)
Get the XObject representation of the variable. |
int |
getXSLToken()
Get an integer representation of the element type. |
void |
recompose(StylesheetRoot root)
This function is called during recomposition to control how this element is composed. |
void |
setIsTopLevel(boolean v)
Set if this is a top-level variable or param, or not. |
void |
setName(QName v)
Set the "name" attribute. |
void |
setSelect(XPath v)
Set the "select" attribute. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ElemVariable()
public ElemVariable(ElemVariable param) throws javax.xml.transform.TransformerException
param
- An element created from an xsl:variableMethod Detail |
public void setSelect(XPath v)
v
- Value to set for the "select" attribute.public XPath getSelect()
public void setName(QName v)
v
- Value to set for the "name" attribute.public QName getName()
public void setIsTopLevel(boolean v)
v
- Boolean indicating whether this is a top-level variable
or param, or not.public boolean getIsTopLevel()
public int getXSLToken()
Constants
public java.lang.String getNodeName()
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 XObject getValue(TransformerImpl transformer, org.w3c.dom.Node sourceNode) 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.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/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |