Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xalan.templates
Class Stylesheet  view Stylesheet download Stylesheet.java

java.lang.Object
  extended byorg.apache.xml.utils.UnImplNode
      extended byorg.apache.xalan.templates.ElemTemplateElement
          extended byorg.apache.xalan.templates.Stylesheet
All Implemented Interfaces:
org.w3c.dom.Document, org.w3c.dom.Element, org.apache.xpath.ExpressionNode, org.w3c.dom.Node, org.w3c.dom.NodeList, org.apache.xml.utils.PrefixResolver, java.io.Serializable, javax.xml.transform.SourceLocator, org.apache.xpath.WhitespaceStrippingElementMatcher, XSLTVisitable
Direct Known Subclasses:
StylesheetComposed

public class Stylesheet
extends ElemTemplateElement
implements java.io.Serializable

Represents a stylesheet element.

All properties in this class have a fixed form of bean-style property accessors for all properties that represent XSL attributes or elements. These properties have setter method names accessed generically by the processor, and so these names must be fixed according to the system defined in the getSetterMethodName function.

 

 

 
 

 
 

 


Field Summary
private  java.util.Vector m_attributeSets
          The "xsl:attribute-set" property.
(package private)  java.util.Stack m_DecimalFormatDeclarations
          Table of tables of element decimal-format.
private  org.apache.xml.utils.StringVector m_ExcludeResultPrefixs
          The "exclude-result-prefixes" property.
private  org.apache.xml.utils.StringVector m_ExtensionElementURIs
          The "extension-element-prefixes" property, actually contains URIs.
private  java.lang.String m_href
          The base URL of the XSL document.
private  java.lang.String m_Id
          The "id" property.
private  java.util.Vector m_imports
          The "xsl:import" list.
private  java.util.Vector m_includes
          The "xsl:include" properties.
private  boolean m_isCompatibleMode
          Whether or not the stylesheet is in "Forward Compatibility Mode"
private  java.util.Vector m_keyDeclarations
          The "xsl:key" property.
private  java.util.Hashtable m_NonXslTopLevel
          The "non-xsl-top-level" properties.
private  java.util.Vector m_output
          The "xsl:output" properties.
private  java.util.Vector m_prefix_aliases
          The "xsl:namespace-alias" properties.
private  java.lang.String m_publicId
          The doctype-public element.
private  Stylesheet m_stylesheetParent
          The parent of the stylesheet.
private  StylesheetRoot m_stylesheetRoot
          The root of the stylesheet, where all the tables common to all stylesheets are kept.
private  java.lang.String m_systemId
          The doctype-system element.
private  java.util.Vector m_templates
          The "xsl:template" properties.
private  java.util.Vector m_topLevelVariables
          The "xsl:variable" and "xsl:param" properties.
private  java.lang.String m_Version
          The "version" property.
private  java.util.Vector m_whitespacePreservingElements
          The "xsl:preserve-space" property, A lookup table of all space preserving elements.
private  java.util.Vector m_whitespaceStrippingElements
          The "xsl:strip-space" properties, A lookup table of all space stripping elements.
private  java.lang.String m_XmlnsXsl
          The "xmlns:xsl" property.
static java.lang.String STYLESHEET_EXT
          Extension to be used when serializing to disk.
 
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_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
Stylesheet(Stylesheet parent)
          Constructor for a Stylesheet.
 
Method Summary
protected  boolean accept(XSLTVisitor visitor)
          Accept a visitor and call the appropriate method for this class.
protected  void callChildVisitors(XSLTVisitor visitor, boolean callAttrs)
          Call the children visitors.
 boolean containsExcludeResultPrefix(java.lang.String prefix, java.lang.String uri)
          Get whether or not the passed prefix is contained flagged by the "exclude-result-prefixes" property.
 boolean containsExtensionElementURI(java.lang.String uri)
          Find out if this contains a given "extension-element-prefix" property.
 ElemAttributeSet getAttributeSet(int i)
          Get an "xsl:attribute-set" property.
 int getAttributeSetCount()
          Get the number of "xsl:attribute-set" properties.
 boolean getCompatibleMode()
          Get whether or not the stylesheet is in "Forward Compatibility Mode"
 DecimalFormatProperties getDecimalFormat(int i)
          Get an "xsl:decimal-format" property.
 DecimalFormatProperties getDecimalFormat(org.apache.xml.utils.QName name)
          Get an "xsl:decimal-format" property.
 int getDecimalFormatCount()
          Get the number of xsl:decimal-format declarations.
 java.lang.String getExcludeResultPrefix(int i)
          Get an "exclude-result-prefix" property.
 int getExcludeResultPrefixCount()
          Get the number of "exclude-result-prefixes" Strings.
 java.lang.String getExtensionElementPrefix(int i)
          Get and "extension-element-prefix" property.
 int getExtensionElementPrefixCount()
          Get the number of "extension-element-prefixes" Strings.
 java.lang.String getHref()
          Get the base identifier with which this stylesheet is associated.
 java.lang.String getId()
          Get the "id" property.
 StylesheetComposed getImport(int i)
          Get a stylesheet from the "import" list.
 int getImportCount()
          Get the number of imported stylesheets.
 Stylesheet getInclude(int i)
          Get the stylesheet at the given in index in "include" list
 int getIncludeCount()
          Get the number of included stylesheets.
 KeyDeclaration getKey(int i)
          Get an "xsl:key" property.
 int getKeyCount()
          Get the number of "xsl:key" properties.
 NamespaceAlias getNamespaceAlias(int i)
          Get an "xsl:namespace-alias" property.
 int getNamespaceAliasCount()
          Get the number of "xsl:namespace-alias" properties.
 java.lang.String getNodeName()
          Return the node name.
 short getNodeType()
          Get the type of the node.
 java.lang.Object getNonXslTopLevel(org.apache.xml.utils.QName name)
          Get a non-xslt element.
 OutputProperties getOutput(int i)
          Get an "xsl:output" property.
 int getOutputCount()
          Get the number of "xsl:output" properties.
 ElemParam getParam(org.apache.xml.utils.QName qname)
          Get an "xsl:param" property.
 WhiteSpaceInfo getPreserveSpace(int i)
          Get a "xsl:preserve-space" property.
 int getPreserveSpaceCount()
          Get the number of "xsl:preserve-space" properties.
 WhiteSpaceInfo getStripSpace(int i)
          Get an "xsl:strip-space" property.
 int getStripSpaceCount()
          Get the number of "xsl:strip-space" properties.
 Stylesheet getStylesheet()
          Get the owning stylesheet.
 StylesheetComposed getStylesheetComposed()
          Get the owning aggregated stylesheet, or this stylesheet if it is aggregated.
 Stylesheet getStylesheetParent()
          Get the parent of the stylesheet.
 StylesheetRoot getStylesheetRoot()
          Get the root of the stylesheet, where all the tables common to all stylesheets are kept.
 ElemTemplate getTemplate(int i)
          Get an "xsl:template" property.
 int getTemplateCount()
          Get the number of "xsl:template" properties.
 ElemVariable getVariable(org.apache.xml.utils.QName qname)
          Get an "xsl:variable" property.
 ElemVariable getVariableOrParam(int i)
          Get an "xsl:variable" property.
 ElemVariable getVariableOrParam(org.apache.xml.utils.QName qname)
          Get an "xsl:variable" or "xsl:param" property.
 int getVariableOrParamCount()
          Get the number of "xsl:variable" properties.
 java.lang.String getVersion()
          Get the "version" property.
 java.lang.String getXmlnsXsl()
          Get the "xmlns:xsl" property.
 int getXSLToken()
          Get an integer representation of the element type.
 boolean isAggregatedType()
          Tell if this can be cast to a StylesheetComposed, meaning, you can ask questions from getXXXComposed functions.
 boolean isRoot()
          Tell if this is the root of the stylesheet tree.
private  void readObject(java.io.ObjectInputStream stream)
          Read the stylesheet from a serialization stream.
 void replaceTemplate(ElemTemplate v, int i)
          Replace an "xsl:template" property.
 void setAttributeSet(ElemAttributeSet attrSet)
          Set the "xsl:attribute-set" property.
 void setDecimalFormat(DecimalFormatProperties edf)
          Process the xsl:decimal-format element.
 void setExcludeResultPrefixes(org.apache.xml.utils.StringVector v)
          Set the "exclude-result-prefixes" property.
 void setExtensionElementPrefixes(org.apache.xml.utils.StringVector v)
          Set the "extension-element-prefixes" property.
 void setHref(java.lang.String baseIdent)
          Set the base identifier with which this stylesheet is associated.
 void setId(java.lang.String v)
          Set the "id" property.
 void setImport(StylesheetComposed v)
          Add a stylesheet to the "import" list.
 void setInclude(Stylesheet v)
          Add a stylesheet to the "include" list.
 void setKey(KeyDeclaration v)
          Set the "xsl:key" property.
 void setLocaterInfo(javax.xml.transform.SourceLocator locator)
          Set the location information for this element.
 void setNamespaceAlias(NamespaceAlias na)
          Set the "xsl:namespace-alias" property.
 void setNonXslTopLevel(org.apache.xml.utils.QName name, java.lang.Object obj)
          Set found a non-xslt element.
 void setOutput(OutputProperties v)
          Set the "xsl:output" property.
 void setParam(ElemParam v)
          Set an "xsl:param" property.
 void setPreserveSpaces(WhiteSpaceInfo wsi)
          Set the "xsl:preserve-space" property.
 void setStripSpaces(WhiteSpaceInfo wsi)
          Set the "xsl:strip-space" properties.
 void setStylesheetParent(Stylesheet v)
          Set the parent of the stylesheet.
 void setStylesheetRoot(StylesheetRoot v)
          Set the root of the stylesheet, where all the tables common to all stylesheets are kept.
 void setTemplate(ElemTemplate v)
          Set an "xsl:template" property.
 void setVariable(ElemVariable v)
          Set the "xsl:variable" property.
 void setVersion(java.lang.String v)
          Set the "version" property.
 void setXmlnsXsl(java.lang.String v)
          Set the "xmlns:xsl" property.
private  void writeObject(java.io.ObjectOutputStream stream)
          Write out the given output stream
 
Methods inherited from class org.apache.xalan.templates.ElemTemplateElement
addOrReplaceDecls, appendChild, appendChild, callChildVisitors, callVisitors, canAcceptVariables, canStripWhiteSpace, compareTo, compose, endCompose, error, error, execute, executeNSDecls, executeNSDecls, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getBaseIdentifier, getChildNodes, getColumnNumber, getDeclaredPrefixes, getDOMBackPointer, getEndColumnNumber, getEndLineNumber, getFirstChild, getFirstChildElem, getLastChild, getLastChildElem, getLength, getLineNumber, getLocalName, getNamespaceForPrefix, getNamespaceForPrefix, getNextSibling, getNextSiblingElem, getOwnerDocument, getOwnerXSLTemplate, getParentElem, getParentNode, getParentNodeElem, getPrefixes, getPreviousSibling, getPreviousSiblingElem, getPublicId, getSystemId, getTagName, getUid, getXmlSpace, handlesNullPrefixes, hasChildNodes, hasTextLitOnly, hasVariableDecl, insertBefore, isCompiledTemplate, item, needToCheckExclude, recompose, removeChild, replaceChild, replaceChild, resolvePrefixTables, runtimeInit, setDOMBackPointer, setEndLocaterInfo, setParentElem, setPrefixes, setPrefixes, setUid, setXmlSpace, shouldStripWhiteSpace, unexecuteNSDecls, unexecuteNSDecls
 
Methods inherited from class org.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, getNamespaceURI, getNodeValue, getOwnerElement, getPrefix, getSpecified, getStandalone, getStrictErrorChecking, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertData, isSupported, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceData, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setEncoding, setNodeValue, setPrefix, setStandalone, setStrictErrorChecking, setValue, splitText, substringData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
compareDocumentPosition, getBaseURI, getFeature, getTextContent, getUserData, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData
 
Methods inherited from interface org.w3c.dom.Element
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Document
getDocumentURI, getDomConfig, getInputEncoding, getXmlEncoding, getXmlStandalone, getXmlVersion, normalizeDocument, renameNode, setDocumentURI, setXmlStandalone, setXmlVersion
 

Field Detail

STYLESHEET_EXT

public static final java.lang.String STYLESHEET_EXT
Extension to be used when serializing to disk.

See Also:
Constant Field Values

m_XmlnsXsl

private java.lang.String m_XmlnsXsl
The "xmlns:xsl" property.


m_ExtensionElementURIs

private org.apache.xml.utils.StringVector m_ExtensionElementURIs
The "extension-element-prefixes" property, actually contains URIs.


m_ExcludeResultPrefixs

private org.apache.xml.utils.StringVector m_ExcludeResultPrefixs
The "exclude-result-prefixes" property.


m_Id

private java.lang.String m_Id
The "id" property.


m_Version

private java.lang.String m_Version
The "version" property.


m_isCompatibleMode

private boolean m_isCompatibleMode
Whether or not the stylesheet is in "Forward Compatibility Mode"


m_imports

private java.util.Vector m_imports
The "xsl:import" list.


m_includes

private java.util.Vector m_includes
The "xsl:include" properties.


m_DecimalFormatDeclarations

java.util.Stack m_DecimalFormatDeclarations
Table of tables of element decimal-format.

See Also:
DecimalFormatProperties

m_whitespaceStrippingElements

private java.util.Vector m_whitespaceStrippingElements
The "xsl:strip-space" properties, A lookup table of all space stripping elements.


m_whitespacePreservingElements

private java.util.Vector m_whitespacePreservingElements
The "xsl:preserve-space" property, A lookup table of all space preserving elements.


m_output

private java.util.Vector m_output
The "xsl:output" properties. This is a vector of OutputProperties objects.


m_keyDeclarations

private java.util.Vector m_keyDeclarations
The "xsl:key" property.


m_attributeSets

private java.util.Vector m_attributeSets
The "xsl:attribute-set" property.


m_topLevelVariables

private java.util.Vector m_topLevelVariables
The "xsl:variable" and "xsl:param" properties.


m_templates

private java.util.Vector m_templates
The "xsl:template" properties.


m_prefix_aliases

private java.util.Vector m_prefix_aliases
The "xsl:namespace-alias" properties.


m_NonXslTopLevel

private java.util.Hashtable m_NonXslTopLevel
The "non-xsl-top-level" properties.


m_href

private java.lang.String m_href
The base URL of the XSL document.


m_publicId

private java.lang.String m_publicId
The doctype-public element.


m_systemId

private java.lang.String m_systemId
The doctype-system element.


m_stylesheetRoot

private StylesheetRoot m_stylesheetRoot
The root of the stylesheet, where all the tables common to all stylesheets are kept.


m_stylesheetParent

private Stylesheet m_stylesheetParent
The parent of the stylesheet. This will be null if this is the root stylesheet.

Constructor Detail

Stylesheet

public Stylesheet(Stylesheet parent)
Constructor for a Stylesheet.

Method Detail

getStylesheet

public Stylesheet getStylesheet()
Get the owning stylesheet. This looks up the inheritance chain until it calls getStylesheet on a Stylesheet object, which will return itself.

Overrides:
getStylesheet in class ElemTemplateElement

isAggregatedType

public boolean isAggregatedType()
Tell if this can be cast to a StylesheetComposed, meaning, you can ask questions from getXXXComposed functions.


isRoot

public boolean isRoot()
Tell if this is the root of the stylesheet tree.


readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        javax.xml.transform.TransformerException
Read the stylesheet from a serialization stream.


writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
Write out the given output stream


setXmlnsXsl

public void setXmlnsXsl(java.lang.String v)
Set the "xmlns:xsl" property.


getXmlnsXsl

public java.lang.String getXmlnsXsl()
Get the "xmlns:xsl" property.


setExtensionElementPrefixes

public void setExtensionElementPrefixes(org.apache.xml.utils.StringVector v)
Set the "extension-element-prefixes" property.


getExtensionElementPrefix

public java.lang.String getExtensionElementPrefix(int i)
                                           throws java.lang.ArrayIndexOutOfBoundsException
Get and "extension-element-prefix" property.


getExtensionElementPrefixCount

public int getExtensionElementPrefixCount()
Get the number of "extension-element-prefixes" Strings.


containsExtensionElementURI

public boolean containsExtensionElementURI(java.lang.String uri)
Find out if this contains a given "extension-element-prefix" property.


setExcludeResultPrefixes

public void setExcludeResultPrefixes(org.apache.xml.utils.StringVector v)
Set the "exclude-result-prefixes" property. The designation of a namespace as an excluded namespace is effective within the subtree of the stylesheet rooted at the element bearing the exclude-result-prefixes or xsl:exclude-result-prefixes attribute; a subtree rooted at an xsl:stylesheet element does not include any stylesheets imported or included by children of that xsl:stylesheet element.


getExcludeResultPrefix

public java.lang.String getExcludeResultPrefix(int i)
                                        throws java.lang.ArrayIndexOutOfBoundsException
Get an "exclude-result-prefix" property. The designation of a namespace as an excluded namespace is effective within the subtree of the stylesheet rooted at the element bearing the exclude-result-prefixes or xsl:exclude-result-prefixes attribute; a subtree rooted at an xsl:stylesheet element does not include any stylesheets imported or included by children of that xsl:stylesheet element.


getExcludeResultPrefixCount

public int getExcludeResultPrefixCount()
Get the number of "exclude-result-prefixes" Strings.


containsExcludeResultPrefix

public boolean containsExcludeResultPrefix(java.lang.String prefix,
                                           java.lang.String uri)
Get whether or not the passed prefix is contained flagged by the "exclude-result-prefixes" property.

Overrides:
containsExcludeResultPrefix in class ElemTemplateElement

setId

public void setId(java.lang.String v)
Set the "id" property.


getId

public java.lang.String getId()
Get the "id" property.


setVersion

public void setVersion(java.lang.String v)
Set the "version" property.


getCompatibleMode

public boolean getCompatibleMode()
Get whether or not the stylesheet is in "Forward Compatibility Mode"


getVersion

public java.lang.String getVersion()
Get the "version" property.


setImport

public void setImport(StylesheetComposed v)
Add a stylesheet to the "import" list.


getImport

public StylesheetComposed getImport(int i)
                             throws java.lang.ArrayIndexOutOfBoundsException
Get a stylesheet from the "import" list.


getImportCount

public int getImportCount()
Get the number of imported stylesheets.


setInclude

public void setInclude(Stylesheet v)
Add a stylesheet to the "include" list.


getInclude

public Stylesheet getInclude(int i)
                      throws java.lang.ArrayIndexOutOfBoundsException
Get the stylesheet at the given in index in "include" list


getIncludeCount

public int getIncludeCount()
Get the number of included stylesheets.


setDecimalFormat

public void setDecimalFormat(DecimalFormatProperties edf)
Process the xsl:decimal-format element.


getDecimalFormat

public DecimalFormatProperties getDecimalFormat(org.apache.xml.utils.QName name)
Get an "xsl:decimal-format" property.


getDecimalFormat

public DecimalFormatProperties getDecimalFormat(int i)
                                         throws java.lang.ArrayIndexOutOfBoundsException
Get an "xsl:decimal-format" property.


getDecimalFormatCount

public int getDecimalFormatCount()
Get the number of xsl:decimal-format declarations.


setStripSpaces

public void setStripSpaces(WhiteSpaceInfo wsi)
Set the "xsl:strip-space" properties.


getStripSpace

public WhiteSpaceInfo getStripSpace(int i)
                             throws java.lang.ArrayIndexOutOfBoundsException
Get an "xsl:strip-space" property.


getStripSpaceCount

public int getStripSpaceCount()
Get the number of "xsl:strip-space" properties.


setPreserveSpaces

public void setPreserveSpaces(WhiteSpaceInfo wsi)
Set the "xsl:preserve-space" property.


getPreserveSpace

public WhiteSpaceInfo getPreserveSpace(int i)
                                throws java.lang.ArrayIndexOutOfBoundsException
Get a "xsl:preserve-space" property.


getPreserveSpaceCount

public int getPreserveSpaceCount()
Get the number of "xsl:preserve-space" properties.


setOutput

public void setOutput(OutputProperties v)
Set the "xsl:output" property.


getOutput

public OutputProperties getOutput(int i)
                           throws java.lang.ArrayIndexOutOfBoundsException
Get an "xsl:output" property.


getOutputCount

public int getOutputCount()
Get the number of "xsl:output" properties.


setKey

public void setKey(KeyDeclaration v)
Set the "xsl:key" property.


getKey

public KeyDeclaration getKey(int i)
                      throws java.lang.ArrayIndexOutOfBoundsException
Get an "xsl:key" property.


getKeyCount

public int getKeyCount()
Get the number of "xsl:key" properties.


setAttributeSet

public void setAttributeSet(ElemAttributeSet attrSet)
Set the "xsl:attribute-set" property.


getAttributeSet

public ElemAttributeSet getAttributeSet(int i)
                                 throws java.lang.ArrayIndexOutOfBoundsException
Get an "xsl:attribute-set" property.


getAttributeSetCount

public int getAttributeSetCount()
Get the number of "xsl:attribute-set" properties.


setVariable

public void setVariable(ElemVariable v)
Set the "xsl:variable" property.


getVariableOrParam

public ElemVariable getVariableOrParam(org.apache.xml.utils.QName qname)
Get an "xsl:variable" or "xsl:param" property.


getVariable

public ElemVariable getVariable(org.apache.xml.utils.QName qname)
Get an "xsl:variable" property.


getVariableOrParam

public ElemVariable getVariableOrParam(int i)
                                throws java.lang.ArrayIndexOutOfBoundsException
Get an "xsl:variable" property.


getVariableOrParamCount

public int getVariableOrParamCount()
Get the number of "xsl:variable" properties.


setParam

public void setParam(ElemParam v)
Set an "xsl:param" property.


getParam

public ElemParam getParam(org.apache.xml.utils.QName qname)
Get an "xsl:param" property.


setTemplate

public void setTemplate(ElemTemplate v)
Set an "xsl:template" property.


getTemplate

public ElemTemplate getTemplate(int i)
                         throws javax.xml.transform.TransformerException
Get an "xsl:template" property.


getTemplateCount

public int getTemplateCount()
Get the number of "xsl:template" properties.


setNamespaceAlias

public void setNamespaceAlias(NamespaceAlias na)
Set the "xsl:namespace-alias" property.


getNamespaceAlias

public NamespaceAlias getNamespaceAlias(int i)
                                 throws java.lang.ArrayIndexOutOfBoundsException
Get an "xsl:namespace-alias" property.


getNamespaceAliasCount

public int getNamespaceAliasCount()
Get the number of "xsl:namespace-alias" properties.


setNonXslTopLevel

public void setNonXslTopLevel(org.apache.xml.utils.QName name,
                              java.lang.Object obj)
Set found a non-xslt element.


getNonXslTopLevel

public java.lang.Object getNonXslTopLevel(org.apache.xml.utils.QName name)
Get a non-xslt element.


getHref

public java.lang.String getHref()
Get the base identifier with which this stylesheet is associated.


setHref

public void setHref(java.lang.String baseIdent)
Set the base identifier with which this stylesheet is associated.


setLocaterInfo

public void setLocaterInfo(javax.xml.transform.SourceLocator locator)
Set the location information for this element.

Overrides:
setLocaterInfo in class ElemTemplateElement

getStylesheetRoot

public StylesheetRoot getStylesheetRoot()
Get the root of the stylesheet, where all the tables common to all stylesheets are kept.

Overrides:
getStylesheetRoot in class ElemTemplateElement

setStylesheetRoot

public void setStylesheetRoot(StylesheetRoot v)
Set the root of the stylesheet, where all the tables common to all stylesheets are kept.


getStylesheetParent

public Stylesheet getStylesheetParent()
Get the parent of the stylesheet. This will be null if this is the root stylesheet.


setStylesheetParent

public void setStylesheetParent(Stylesheet v)
Set the parent of the stylesheet. This should be null if this is the root stylesheet.


getStylesheetComposed

public StylesheetComposed getStylesheetComposed()
Get the owning aggregated stylesheet, or this stylesheet if it is aggregated.

Overrides:
getStylesheetComposed in class ElemTemplateElement

getNodeType

public short getNodeType()
Get the type of the node. We'll pretend we're a Document.

Specified by:
getNodeType in interface org.w3c.dom.Node
Overrides:
getNodeType in class ElemTemplateElement

getXSLToken

public int getXSLToken()
Get an integer representation of the element type.

Overrides:
getXSLToken in class ElemTemplateElement

getNodeName

public java.lang.String getNodeName()
Return the node name.

Specified by:
getNodeName in interface org.w3c.dom.Node
Overrides:
getNodeName in class ElemTemplateElement

replaceTemplate

public void replaceTemplate(ElemTemplate v,
                            int i)
                     throws javax.xml.transform.TransformerException
Replace an "xsl:template" property. This is a hook for CompilingStylesheetHandler, to allow us to access a template, compile it, instantiate it, and replace the original with the compiled instance. ADDED 9/5/2000 to support compilation experiment


callChildVisitors

protected void callChildVisitors(XSLTVisitor visitor,
                                 boolean callAttrs)
Call the children visitors.

Overrides:
callChildVisitors in class ElemTemplateElement

accept

protected boolean accept(XSLTVisitor visitor)
Accept a visitor and call the appropriate method for this class.

Overrides:
accept in class ElemTemplateElement