|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.utils.UnImplNode org.apache.xalan.templates.ElemTemplateElement org.apache.xalan.templates.ElemExtensionDecl
public class ElemExtensionDecl
Implement the declaration of an extension element
Field Summary | |
---|---|
private StringVector |
m_elements
StringVector of elements defined in this extension. |
private StringVector |
m_functions
StringVector holding the names of functions defined in this extension. |
private java.lang.String |
m_prefix
Prefix string for this extension element. |
(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 | |
---|---|
ElemExtensionDecl()
Constructor ElemExtensionDecl |
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. |
java.lang.String |
getElement(int i)
Get the element at the given index |
int |
getElementCount()
Return the count of elements defined for this extension element |
StringVector |
getElements()
Get StringVector of elements defined for this extension |
java.lang.String |
getFunction(int i)
Get a function at a given index in this extension element |
int |
getFunctionCount()
Get count of functions defined in this extension element |
StringVector |
getFunctions()
Get the names of functions defined in this extension |
java.lang.String |
getPrefix()
Get the prefix for this extension element |
int |
getXSLToken()
Get an int constant identifying the type of element. |
void |
runtimeInit(TransformerImpl transformer)
This function will be called on top-level elements only, just before the transform begins. |
void |
setElements(StringVector v)
Set StringVector of elements for this extension |
void |
setFunctions(StringVector v)
Set the names of functions defined in this extension |
void |
setPrefix(java.lang.String v)
Set the prefix for this extension element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final long serialVersionUID
private java.lang.String m_prefix
private StringVector m_functions
private StringVector m_elements
Constructor Detail |
---|
public ElemExtensionDecl()
Method Detail |
---|
public void setPrefix(java.lang.String v)
setPrefix
in interface org.w3c.dom.Node
setPrefix
in class UnImplNode
v
- Prefix to set for this extension elementpublic java.lang.String getPrefix()
getPrefix
in interface org.w3c.dom.Node
getPrefix
in class UnImplNode
public void setFunctions(StringVector v)
v
- StringVector holding the names of functions defined in this extensionpublic StringVector getFunctions()
public java.lang.String getFunction(int i) throws java.lang.ArrayIndexOutOfBoundsException
i
- Index of function to get
java.lang.ArrayIndexOutOfBoundsException
public int getFunctionCount()
public void setElements(StringVector v)
v
- StringVector of elements to setpublic StringVector getElements()
public java.lang.String getElement(int i) throws java.lang.ArrayIndexOutOfBoundsException
i
- Index of element to get
java.lang.ArrayIndexOutOfBoundsException
public int getElementCount()
public int getXSLToken()
getXSLToken
in class ElemTemplateElement
Constants
public void compose(StylesheetRoot sroot) throws javax.xml.transform.TransformerException
ElemTemplateElement
compose
in class ElemTemplateElement
javax.xml.transform.TransformerException
public void runtimeInit(TransformerImpl transformer) throws javax.xml.transform.TransformerException
runtimeInit
in class ElemTemplateElement
transformer
- The XSLT TransformerFactory.
javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |