|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.templates.AVT
**For advanced use only** Class to hold an Attribute Value Template.
Constructor Summary | |
AVT(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String stringedValue)
Construct an AVT by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the AVT is simple. |
Method Summary | |
boolean |
canTraverseOutsideSubtree()
Tell if this expression or it's subexpressions can traverse outside the current subtree. |
java.lang.String |
evaluate(XPathContext xctxt,
Node context,
PrefixResolver nsNode)
Evaluate the AVT and return a String. |
java.lang.String |
getName()
Get the local name of the attribute. |
java.lang.String |
getRawName()
Get the raw name of the attribute, with the prefix unprocessed. |
java.lang.String |
getSimpleString()
Get the AVT as the original string. |
java.lang.String |
getURI()
Get the namespace URI of the attribute. |
boolean |
isContextInsensitive()
Test whether the AVT is insensitive to the context in which it is being evaluated. |
void |
setName(java.lang.String name)
Set the local name of the attribute. |
void |
setRawName(java.lang.String rawName)
Get the raw name of the attribute, with the prefix unprocessed. |
void |
setURI(java.lang.String uri)
Get the namespace URI of the attribute. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AVT(StylesheetHandler handler, java.lang.String uri, java.lang.String name, java.lang.String rawName, java.lang.String stringedValue) throws TransformerException
handler
- non-null reference to StylesheetHandler that is constructing.uri
- non-null reference to URI, "" if null namespace.name
- non-null reference to name string.rawName
- prefixed name.stringedValue
- non-null raw string value.Method Detail |
public java.lang.String getRawName()
public void setRawName(java.lang.String rawName)
rawName
- non-null reference to prefixed name.public java.lang.String getName()
public void setName(java.lang.String name)
name
- non-null reference to name string.public java.lang.String getURI()
public void setURI(java.lang.String uri)
uri
- non-null reference to URI, "" if null namespace.public java.lang.String getSimpleString()
public java.lang.String evaluate(XPathContext xctxt, Node context, PrefixResolver nsNode) throws TransformerException
xctxt
- Te XPathContext to use to evaluate this.context
- The current source tree context.nsNode
- The current namespace context (stylesheet tree context).NodeList
- The current Context Node List.public boolean isContextInsensitive()
public boolean canTraverseOutsideSubtree()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |