public class QuerySimpleContentConstructor extends SimpleContentConstructor
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
Constructor and Description |
---|
QuerySimpleContentConstructor(Expression select,
Expression separator,
boolean noNodeIfEmpty) |
Modifier and Type | Method and Description |
---|---|
protected int |
computeCardinality()
Compute the cardinality of the result of the expression.
|
Expression |
copy()
Copy an expression.
|
Item |
evaluateItem(XPathContext context)
Evaluate an expression as a single item.
|
java.lang.CharSequence |
expandChildren(XPathContext context)
Expand the stylesheet elements subordinate to this one, returning the result
as a string.
|
boolean |
isNoNodeWhenEmpty() |
explain, getImplementationMethod, getItemType, getSelectExpression, getSeparatorExpression, isAtomic, isSingleton, iterateSubExpressions, optimize, promote, replaceSubExpression, simplify, typeCheck
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeSpecialProperties, computeStaticProperties, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluatePendingUpdates, explain, findParentOf, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isUpdatingExpression, iterate, iterateEvents, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, toString, typeError
public QuerySimpleContentConstructor(Expression select, Expression separator, boolean noNodeIfEmpty)
public boolean isNoNodeWhenEmpty()
protected int computeCardinality()
computeCardinality
in class SimpleContentConstructor
public Expression copy()
copy
in class SimpleContentConstructor
public java.lang.CharSequence expandChildren(XPathContext context) throws XPathException
context
- The dynamic context for the transformationXPathException
public Item evaluateItem(XPathContext context) throws XPathException
evaluateItem
in interface EvaluableItem
evaluateItem
in class SimpleContentConstructor
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expression