org.apache.xalan.templates
Class AVTPart

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

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

**For internal use only** Class to hold a part, either a string or XPath, of an Attribute Value Template.

See Also:
Serialized Form

Constructor Summary
AVTPart()
          **For internal use only** Construct a part.
 
Method Summary
abstract  void evaluate(XPathContext xctxt, FastStringBuffer buf, Node context, PrefixResolver nsNode)
          **For internal use only** Write the evaluated value into the given string buffer.
abstract  java.lang.String getSimpleString()
          **For internal use only** Get the AVT part as the original string.
 void setXPathSupport(XPathContext support)
          **For internal use only** Set the XPath support.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AVTPart

public AVTPart()
**For internal use only** Construct a part.
Method Detail

getSimpleString

public abstract java.lang.String getSimpleString()
**For internal use only** Get the AVT part as the original string.

evaluate

public abstract void evaluate(XPathContext xctxt,
                              FastStringBuffer buf,
                              Node context,
                              PrefixResolver nsNode)
                       throws SAXException
**For internal use only** 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(XPathContext support)
**For internal use only** Set the XPath support.


Copyright © 2000 Apache XML Project. All Rights Reserved.