Package net.sf.saxon.style
Class TextValueTemplateNode
- java.lang.Object
-
- net.sf.saxon.tree.linked.NodeImpl
-
- net.sf.saxon.tree.linked.TextImpl
-
- net.sf.saxon.style.TextValueTemplateNode
-
- All Implemented Interfaces:
javax.xml.transform.Source
,javax.xml.transform.SourceLocator
,ActiveSource
,GroundedValue
,Item
,MutableNodeInfo
,NodeInfo
,Sequence
,Location
,SteppingNode
,SiblingCountingNode
,org.xml.sax.Locator
public class TextValueTemplateNode extends TextImpl
A text node in an XSLT 3.0 stylesheet that may or may not contain a text value template
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.tree.linked.NodeImpl
NODE_LETTER
-
-
Constructor Summary
Constructors Constructor Description TextValueTemplateNode(UnicodeString value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
getContentExpression()
TextValueTemplateContext
getStaticContext()
void
parse()
Parse any XPath expressions contained in the content of the text value templatevoid
validate()
Validate the text node; specifically, perform type checking of any contained expressions-
Methods inherited from class net.sf.saxon.tree.linked.TextImpl
appendStringValue, copy, getNodeKind, getUnicodeStringValue, replaceStringValue
-
Methods inherited from class net.sf.saxon.tree.linked.NodeImpl
addAttribute, addNamespace, atomize, attributes, compareOrder, delete, effectiveBooleanValue, equals, generateId, getAllNamespaces, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getFirstChild, getLastChild, getLineNumber, getLocalPart, getNamePool, getNamespaceUri, getNextInDocument, getNextSibling, getNodeName, getParent, getPhysicalRoot, getPrefix, getPreviousInDocument, getPreviousSibling, getRawParent, getRoot, getSchemaType, getSequenceNumber, getSiblingPosition, getSuccessorElement, getSystemId, getTreeInfo, hasChildNodes, hasFingerprint, hashCode, head, insertChildren, insertSiblings, isDeleted, iterateAxis, iterateAxis, newBuilder, removeAttribute, removeTypeAnnotation, rename, replace, saveLocation, setAttributes, setRawParent, setSiblingPosition, setSystemId, setTypeAnnotation
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, materialize
-
Methods inherited from interface net.sf.saxon.om.Item
getLength, getStringValue, itemAt, iterate, reduce, subsequence
-
Methods inherited from interface net.sf.saxon.om.MutableNodeInfo
addNamespace, removeNamespace
-
Methods inherited from interface net.sf.saxon.om.NodeInfo
asActiveSource, children, children, deliver, getAttributeValue, getGenre, getPublicId, getURI, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, toShortString
-
Methods inherited from interface net.sf.saxon.om.Sequence
makeRepeatable
-
-
-
-
Constructor Detail
-
TextValueTemplateNode
public TextValueTemplateNode(UnicodeString value)
-
-
Method Detail
-
getContentExpression
public Expression getContentExpression()
-
getStaticContext
public TextValueTemplateContext getStaticContext()
-
parse
public void parse() throws XPathException
Parse any XPath expressions contained in the content of the text value template- Throws:
XPathException
- if parsing of an XPath expression fails
-
validate
public void validate() throws XPathException
Validate the text node; specifically, perform type checking of any contained expressions- Throws:
XPathException
- if type checking finds any problems
-
-