Enhydra 3.1 API

org.apache.xalan.xslt
Class AVTPart

java.lang.Object
  |
  +--org.apache.xalan.xslt.AVTPart
Direct Known Subclasses:
AVTPartSimple, AVTPartXPath

public abstract class AVTPart
extends java.lang.Object
implements java.io.Serializable

Class to hold a part, either a string or XPath, of an Attribute Value Template.

See Also:
Serialized Form

Constructor Summary
AVTPart()
          Construct a part.
 
Method Summary
abstract  void evaluate(XPathSupport execContext, java.lang.StringBuffer buf, Node context, PrefixResolver nsNode)
          Write the evaluated value into the given string buffer.
 void setXPathSupport(XPathSupport support)
          Set the XPath support.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AVTPart

public AVTPart()
Construct a part.
Method Detail

evaluate

public abstract void evaluate(XPathSupport execContext,
                              java.lang.StringBuffer buf,
                              Node context,
                              PrefixResolver nsNode)
                       throws SAXException
Write the evaluated value into the given string buffer.
Parameters:
buf - Buffer to write into.
context - The current source tree context.
nsNode - The current namespace context (stylesheet tree context).
NodeList - The current Context Node List.

setXPathSupport

public void setXPathSupport(XPathSupport support)
Set the XPath support.

Enhydra 3.1 API