BEA Systems, Inc.


weblogic.apache.xalan.templates
Class ElemExtensionDecl

java.lang.Object
  |
  +--weblogic.apache.xml.utils.UnImplNode
        |
        +--weblogic.apache.xalan.templates.ElemTemplateElement
              |
              +--weblogic.apache.xalan.templates.ElemExtensionDecl

public class ElemExtensionDecl
extends ElemTemplateElement

Implement the declaration of an extension element

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.

See Also:
Serialized Form

Fields inherited from class weblogic.apache.xalan.templates.ElemTemplateElement
m_docOrderNumber, m_hasVariableDecl, m_parentNode
 
Constructor Summary
ElemExtensionDecl()
          Constructor ElemExtensionDecl
 
Method Summary
 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()
          Set 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 weblogic.apache.xalan.templates.ElemTemplateElement
appendChild, appendChild, canStripWhiteSpace, compareTo, compose, containsExcludeResultPrefix, endCompose, error, error, error, execute, getBaseIdentifier, getChildNodes, getColumnNumber, getDeclaredPrefixes, getDOMBackPointer, getFirstChild, getFirstChildElem, getLastChild, getLastChildElem, getLength, getLineNumber, getNamespaceForPrefix, getNamespaceForPrefix, getNextSibling, getNextSiblingElem, getNodeName, getNodeType, getOwnerDocument, getParentElem, getParentNode, getParentNodeElem, getPrefixes, getPreviousSibling, getPreviousSiblingElem, getPublicId, getStylesheet, getStylesheetComposed, getStylesheetRoot, getSystemId, getTagName, getUid, getXmlSpace, hasChildNodes, hasTextLitOnly, hasVariableDecl, isCompiledTemplate, isValidNCName, item, recompose, removeChild, replaceChild, replaceChild, resolvePrefixTables, setDOMBackPointer, setLocaterInfo, setParentElem, setPrefixes, setPrefixes, setUid, setXmlSpace, shouldStripWhiteSpace
 
Methods inherited from class weblogic.apache.xml.utils.UnImplNode
adoptNode, appendData, cloneNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getEncoding, getImplementation, getLocalName, getNamespaceURI, getNodeValue, getOwnerElement, getSpecified, getStandalone, getStrictErrorChecking, getVersion, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertBefore, insertData, isSupported, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceData, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setEncoding, setNodeValue, setStandalone, setStrictErrorChecking, setValue, setVersion, splitText, substringData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElemExtensionDecl

public ElemExtensionDecl()
Constructor ElemExtensionDecl
Method Detail

setPrefix

public void setPrefix(java.lang.String v)
Set the prefix for this extension element

Parameters:
v - Prefix to set for this extension element
Overrides:
setPrefix in class UnImplNode

getPrefix

public java.lang.String getPrefix()
Set the prefix for this extension element

Returns:
Prefix for this extension element
Overrides:
getPrefix in class UnImplNode

setFunctions

public void setFunctions(StringVector v)
Set the names of functions defined in this extension

Parameters:
v - StringVector holding the names of functions defined in this extension

getFunctions

public StringVector getFunctions()
Get the names of functions defined in this extension

Returns:
StringVector holding the names of functions defined in this extension

getFunction

public java.lang.String getFunction(int i)
                             throws java.lang.ArrayIndexOutOfBoundsException
Get a function at a given index in this extension element

Parameters:
i - Index of function to get
Returns:
Name of Function at given index
Throws:
java.lang.ArrayIndexOutOfBoundsException -  

getFunctionCount

public int getFunctionCount()
Get count of functions defined in this extension element

Returns:
count of functions defined in this extension element

setElements

public void setElements(StringVector v)
Set StringVector of elements for this extension

Parameters:
v - StringVector of elements to set

getElements

public StringVector getElements()
Get StringVector of elements defined for this extension

Returns:
StringVector of elements defined for this extension

getElement

public java.lang.String getElement(int i)
                            throws java.lang.ArrayIndexOutOfBoundsException
Get the element at the given index

Parameters:
i - Index of element to get
Returns:
The element at the given index
Throws:
java.lang.ArrayIndexOutOfBoundsException -  

getElementCount

public int getElementCount()
Return the count of elements defined for this extension element

Returns:
the count of elements defined for this extension element

getXSLToken

public int getXSLToken()
Get an int constant identifying the type of element.

Returns:
The token ID for this element
Overrides:
getXSLToken in class ElemTemplateElement
See Also:
Constants

runtimeInit

public void runtimeInit(TransformerImpl transformer)
                 throws javax.xml.transform.TransformerException
This function will be called on top-level elements only, just before the transform begins.

Parameters:
transformer - The XSLT TransformerFactory.
Throws:
javax.xml.transform.TransformerException -  
Overrides:
runtimeInit in class ElemTemplateElement

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs70

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference