|
||||||||||
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.ElemUse org.apache.xalan.templates.ElemLiteralResult org.apache.xalan.templates.ElemExtensionCall
public class ElemExtensionCall
Implement an extension element.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.xalan.templates.ElemLiteralResult |
---|
ElemLiteralResult.Attribute, ElemLiteralResult.LiteralElementAttributes |
Field Summary | |
---|---|
(package private) ElemExtensionDecl |
m_decl
Declaration for Extension element. |
(package private) java.lang.String |
m_extns
The Namespace URI for this extension call element. |
(package private) java.lang.String |
m_lang
Language used by extension. |
(package private) java.lang.String |
m_scriptSrc
Source for script. |
(package private) java.lang.String |
m_srcURL
URL pointing to extension. |
(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 | |
---|---|
ElemExtensionCall()
|
Method Summary | |
---|---|
protected boolean |
accept(XSLTVisitor visitor)
Accept a visitor and call the appropriate method for this class. |
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 |
execute(TransformerImpl transformer)
Execute an extension. |
private void |
executeFallbacks(TransformerImpl transformer)
Execute the fallbacks when an extension is not available. |
java.lang.String |
getAttribute(java.lang.String rawName,
org.w3c.dom.Node sourceNode,
TransformerImpl transformer)
Return the value of the attribute interpreted as an Attribute Value Template (in other words, you can use curly expressions such as href="http://{website}". |
private ElemExtensionDecl |
getElemExtensionDecl(StylesheetRoot stylesheet,
java.lang.String namespace)
Return the ElemExtensionDecl for this extension element |
int |
getXSLToken()
Get an int constant identifying the type of element. |
private boolean |
hasFallbackChildren()
Return true if this extension element has a |
Methods inherited from class org.apache.xalan.templates.ElemUse |
---|
applyAttrSets, getUseAttributeSets, setUseAttributeSets, setUseAttributeSets |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final long serialVersionUID
java.lang.String m_extns
java.lang.String m_lang
java.lang.String m_srcURL
java.lang.String m_scriptSrc
ElemExtensionDecl m_decl
Constructor Detail |
---|
public ElemExtensionCall()
Method Detail |
---|
public int getXSLToken()
getXSLToken
in class ElemLiteralResult
Constants
public void compose(StylesheetRoot sroot) throws javax.xml.transform.TransformerException
compose
in class ElemLiteralResult
javax.xml.transform.TransformerException
private ElemExtensionDecl getElemExtensionDecl(StylesheetRoot stylesheet, java.lang.String namespace)
stylesheet
- Stylesheet root associated with this extension elementnamespace
- Namespace associated with this extension element
private void executeFallbacks(TransformerImpl transformer) throws javax.xml.transform.TransformerException
transformer
- non-null reference to the the current transform-time state.
javax.xml.transform.TransformerException
private boolean hasFallbackChildren()
public void execute(TransformerImpl transformer) throws javax.xml.transform.TransformerException
execute
in class ElemLiteralResult
transformer
- non-null reference to the the current transform-time state.
javax.xml.transform.TransformerException
public java.lang.String getAttribute(java.lang.String rawName, org.w3c.dom.Node sourceNode, TransformerImpl transformer) throws javax.xml.transform.TransformerException
rawName
- Raw name of the attribute to getsourceNode
- non-null reference to the current source node.transformer
- non-null reference to the the current transform-time state.
javax.xml.transform.TransformerException
protected boolean accept(XSLTVisitor visitor)
accept
in class ElemLiteralResult
visitor
- The visitor whose appropriate method will be called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |