|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.utils.UnImplNode
org.apache.xalan.templates.ElemTemplateElement
org.apache.xalan.templates.ElemWithParam
public class ElemWithParam
Implement xsl:with-param. xsl:with-param is allowed within both xsl:call-template and xsl:apply-templates.
| Field Summary | |
|---|---|
(package private) int |
m_index
This is the index to the stack frame being called, |
private QName |
m_qname
The required name attribute specifies the name of the parameter (the variable the value of whose binding is to be replaced). |
(package private) int |
m_qnameID
|
private XPath |
m_selectPattern
The "select" attribute, which specifies the value of the argument, if element content is not specified. |
(package private) static long |
serialVersionUID
|
| Fields inherited from class org.apache.xalan.templates.ElemTemplateElement |
|---|
m_docOrderNumber, m_firstChild, m_hasVariableDecl, m_nextSibling, m_parentNode |
| Fields inherited from class org.apache.xml.utils.UnImplNode |
|---|
actualEncoding, fDocumentURI |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
ElemWithParam()
|
|
| Method Summary | |
|---|---|
ElemTemplateElement |
appendChild(ElemTemplateElement elem)
Add a child to the child list. |
protected void |
callChildVisitors(XSLTVisitor visitor,
boolean callAttrs)
Call the children visitors. |
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. |
QName |
getName()
Get the "name" attribute. |
java.lang.String |
getNodeName()
Return the node name. |
XPath |
getSelect()
Get the "select" attribute. |
XObject |
getValue(TransformerImpl transformer,
int sourceNode)
Get the XObject representation of the variable. |
int |
getXSLToken()
Get an integer representation of the element type. |
void |
setName(QName v)
Set the "name" attribute. |
void |
setParentElem(ElemTemplateElement p)
Set the parent as an ElemTemplateElement. |
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 |
| Field Detail |
|---|
static final long serialVersionUID
int m_index
private XPath m_selectPattern
private QName m_qname
int m_qnameID
| Constructor Detail |
|---|
public ElemWithParam()
| Method 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 int getXSLToken()
getXSLToken in class ElemTemplateElementConstantspublic java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.NodegetNodeName in class ElemTemplateElement
public void compose(StylesheetRoot sroot)
throws javax.xml.transform.TransformerException
compose in class ElemTemplateElementjavax.xml.transform.TransformerExceptionpublic void setParentElem(ElemTemplateElement p)
setParentElem in class ElemTemplateElementp - This node's parent as an ElemTemplateElement
public XObject getValue(TransformerImpl transformer,
int 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.
javax.xml.transform.TransformerException
protected void callChildVisitors(XSLTVisitor visitor,
boolean callAttrs)
callChildVisitors in class ElemTemplateElementvisitor - The visitor whose appropriate method will be called.public ElemTemplateElement appendChild(ElemTemplateElement elem)
appendChild in class ElemTemplateElementelem - New element to append to this element's children list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||