public class QuerySimpleContentConstructor extends SimpleContentConstructor
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
noNodeIfEmpty |
isAtomic, isSingleton, select, separatorlocationId, staticPropertiesEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD| 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.
|
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.
|
display, getImplementationMethod, getItemType, iterateSubExpressions, optimize, promote, replaceSubExpression, simplify, typeCheckadoptChildExpression, checkPermittedContents, computeDependencies, computeSpecialProperties, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, iterate, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeErrorpublic QuerySimpleContentConstructor(Expression select, Expression separator, boolean noNodeIfEmpty)
protected int computeCardinality()
computeCardinality in class SimpleContentConstructorpublic java.lang.CharSequence expandChildren(XPathContext context) throws XPathException
context - The dynamic context for the transformationXPathExceptionpublic Item evaluateItem(XPathContext context) throws XPathException
evaluateItem in interface ExpressionevaluateItem in class SimpleContentConstructorcontext - The context in which the expression is to be evaluatedXPathException - if any dynamic error occurs evaluating the
expression