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()
Construct a part. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AVTPart
public AVTPart()
- Construct a part.
getSimpleString
public abstract java.lang.String getSimpleString()
- Get the AVT part as the original string.
- Returns:
- the AVT part as the original string.
evaluate
public abstract void evaluate(XPathContext xctxt,
FastStringBuffer buf,
Node context,
PrefixResolver nsNode)
throws TransformerException
- Write the evaluated value into the given
string buffer.
- Parameters:
xctxt
- The XPath context to use to evaluate this AVT.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.- Throws:
- TransformerException -
setXPathSupport
public void setXPathSupport(XPathContext support)
- Set the XPath support.
- Parameters:
support
- XPathContext to set.
canTraverseOutsideSubtree
public boolean canTraverseOutsideSubtree()
- Tell if this expression or it's subexpressions can traverse outside
the current subtree.
- Returns:
- true if traversal outside the context node's subtree can occur.
Copyright � 2000 Apache XML Project. All Rights Reserved.