|
||||||||||
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
Implement an extension element.
Field Summary | |
(package private) ElemExtensionDecl |
m_decl
Declaration for Extension element. |
(package private) String |
m_extns
The Namespace URI for this extension call element. |
(package private) String |
m_lang
Language used by extension. |
(package private) String |
m_scriptSrc
Source for script. |
(package private) String |
m_srcURL
URL pointing to extension. |
Fields inherited from class org.apache.xalan.templates.ElemLiteralResult |
|
Fields inherited from class org.apache.xalan.templates.ElemUse |
|
Fields inherited from class org.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber, m_firstChild, m_hasVariableDecl, m_nextSibling, m_parentNode, m_prefixTable |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, 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. |
void |
executeFallbacks(TransformerImpl transformer)
Execute the fallbacks when an extension is not available. |
String |
getAttribute(String rawName)
Return the raw value of the attribute. |
String |
getAttribute(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,
String namespace)
Return the ElemExtensionDecl for this extension element |
int |
getXSLToken()
Get an int constant identifying the type of element. |
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 |
String m_extns
String m_lang
String m_srcURL
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, String namespace)
stylesheet
- Stylesheet root associated with this extension elementnamespace
- Namespace associated with this extension element
public void executeFallbacks(TransformerImpl transformer) throws javax.xml.transform.TransformerException
transformer
- non-null reference to the the current transform-time state.
javax.xml.transform.TransformerException
public 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 String getAttribute(String rawName)
getAttribute
in interface org.w3c.dom.Element
getAttribute
in class UnImplNode
rawName
- Raw name of the attribute to get
public String getAttribute(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 |