java.io.Serializable
, javax.xml.transform.SourceLocator
, Container
, Expression
, InstructionInfoProvider
public class QuerySimpleContentConstructor extends SimpleContentConstructor
Modifier and Type | Field | Description |
---|---|---|
(package private) boolean |
noNodeIfEmpty |
locationId, staticProperties
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
isAtomic, isSingleton, select, separator
Constructor | Description |
---|---|
QuerySimpleContentConstructor(Expression select,
Expression separator,
boolean noNodeIfEmpty) |
Modifier and Type | Method | 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.
|
adoptChildExpression, 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, typeError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
display, getImplementationMethod, getItemType, iterateSubExpressions, optimize, promote, replaceSubExpression, simplify, typeCheck
public QuerySimpleContentConstructor(Expression select, Expression separator, boolean noNodeIfEmpty)
protected int computeCardinality()
computeCardinality
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 Expression
evaluateItem
in class SimpleContentConstructor
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expression