BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xalan.transformer
Class QueuedStartElement

java.lang.Object
  |
  +--weblogic.apache.xalan.transformer.QueuedSAXEvent
        |
        +--weblogic.apache.xalan.transformer.QueuedStartElement

public class QueuedStartElement
extends QueuedSAXEvent
implements TransformState

Tracks the state of a queued element event.

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.


Fields inherited from class weblogic.apache.xalan.transformer.QueuedSAXEvent
isEnded, isPending, m_contentHandler, m_isTransformClient, m_traceManager, m_transformer
 
Constructor Summary
QueuedStartElement()
          Constructor QueuedStartElement
 
Method Summary
 org.w3c.dom.traversal.NodeIterator getContextNodeList()
          Get the current context node list.
 ElemTemplateElement getCurrentElement()
          Retrieves the stylesheet element that produced the SAX event.
 org.w3c.dom.Node getCurrentNode()
          This method retrieves the current context node in the source tree.
 ElemTemplate getCurrentTemplate()
          This method retrieves the xsl:template that is in effect, which may be a matched template or a named template.
 org.w3c.dom.Node getMatchedNode()
          Retrieves the node in the source tree that matched the template obtained via getMatchedTemplate().
 ElemTemplate getMatchedTemplate()
          This method retrieves the xsl:template that was matched.
 javax.xml.transform.Transformer getTransformer()
          Get the TrAX Transformer object in effect.
 
Methods inherited from class weblogic.apache.xalan.transformer.QueuedSAXEvent
fireGenerateEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueuedStartElement

public QueuedStartElement()
Constructor QueuedStartElement
Method Detail

getCurrentElement

public ElemTemplateElement getCurrentElement()
Retrieves the stylesheet element that produced the SAX event.

Please note that the ElemTemplateElement returned may be in a default template, and thus may not be defined in the stylesheet.

Specified by:
getCurrentElement in interface TransformState

Returns:
the stylesheet element that produced the SAX event.

getCurrentNode

public org.w3c.dom.Node getCurrentNode()
This method retrieves the current context node in the source tree.
Specified by:
getCurrentNode in interface TransformState

Returns:
the current context node in the source tree.

getCurrentTemplate

public ElemTemplate getCurrentTemplate()
This method retrieves the xsl:template that is in effect, which may be a matched template or a named template.

Please note that the ElemTemplate returned may be a default template, and thus may not have a template defined in the stylesheet.

Specified by:
getCurrentTemplate in interface TransformState

Returns:
the xsl:template that is in effect

getMatchedTemplate

public ElemTemplate getMatchedTemplate()
This method retrieves the xsl:template that was matched. Note that this may not be the same thing as the current template (which may be from getCurrentElement()), since a named template may be in effect.

Please note that the ElemTemplate returned may be a default template, and thus may not have a template defined in the stylesheet.

Specified by:
getMatchedTemplate in interface TransformState

Returns:
the xsl:template that was matched.

getMatchedNode

public org.w3c.dom.Node getMatchedNode()
Retrieves the node in the source tree that matched the template obtained via getMatchedTemplate().
Specified by:
getMatchedNode in interface TransformState

Returns:
the node in the source tree that matched the template obtained via getMatchedTemplate().

getContextNodeList

public org.w3c.dom.traversal.NodeIterator getContextNodeList()
Get the current context node list.
Specified by:
getContextNodeList in interface TransformState

Returns:
the current context node list.

getTransformer

public javax.xml.transform.Transformer getTransformer()
Get the TrAX Transformer object in effect.
Specified by:
getTransformer in interface TransformState

Returns:
the TrAX Transformer object in effect.

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

WebLogic classes and methods that do not appear in this reference are not public and are not supported.