Package net.sf.saxon.style
Class AttributeValueTemplate
- java.lang.Object
-
- net.sf.saxon.style.AttributeValueTemplate
-
public abstract class AttributeValueTemplate extends java.lang.ObjectThis class represents an attribute value template. The class allows an AVT to be parsed, and can construct an Expression that returns the effective value of the AVT. This is an abstract class that is never instantiated, it contains static methods only.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Expressionmake(java.lang.String avt, int lineNumber, StaticContext env)Static factory method to create an AVT from an XSLT string representation.static ExpressionmakeFirstItem(Expression exp, StaticContext env)Make an expression that extracts the first item of a sequence, after atomization
-
-
-
Method Detail
-
make
public static Expression make(java.lang.String avt, int lineNumber, StaticContext env) throws XPathException
Static factory method to create an AVT from an XSLT string representation.- Throws:
XPathException
-
makeFirstItem
public static Expression makeFirstItem(Expression exp, StaticContext env)
Make an expression that extracts the first item of a sequence, after atomization
-
-