public class UniversalPattern extends Pattern
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, UPDATE_METHOD, WATCH_METHOD| Constructor and Description |
|---|
UniversalPattern()
Create an UniversalPattern that matches all items
|
| Modifier and Type | Method and Description |
|---|---|
Pattern |
copy()
Copy a UniversalPattern.
|
boolean |
equals(Object other)
Determine whether this pattern is the same as another pattern
|
void |
export(ExpressionPresenter presenter)
Diagnostic print of expression structure.
|
int |
getFingerprint()
Determine the name fingerprint of nodes to which this pattern applies.
|
ItemType |
getItemType()
Get a NodeTest that all the nodes matching this pattern must satisfy
|
UType |
getUType()
Get a UType indicating which kinds of items this Pattern can match.
|
int |
hashCode()
Hashcode supporting equals()
|
boolean |
matches(Item item,
XPathContext context)
Determine whether this Pattern matches the given Node.
|
String |
toString()
Display the pattern for diagnostics
|
allocateSlots, bindCurrent, convertToTypedPattern, effectiveBooleanValue, getDefaultPriority, getDependencies, getHostLanguage, isMotionless, iterateSubExpressions, make, matchesBeneathAnchor, optimize, promote, replaceCurrent, selectNodes, setOriginalText, setPriority, simplify, typeCheckcomputeCardinality, evaluateAsString, evaluateItem, getImplementationMethod, iterate, iterateEvents, processaddToPathMap, adoptChildExpression, checkedOperands, checkForUpdatingSubexpressions, checkPermittedContents, clearStreamabilityData, computeDependencies, computeSpecialProperties, computeStaticProperties, doPromotion, dynamicError, evaluatePendingUpdates, explain, getCardinality, getConfiguration, getConstructType, getCost, getEvaluationMethod, getExpressionCompiler, getExpressionName, getIntegerBounds, getIntrinsicDependencies, getLocation, getNetCost, getObjectName, getPackageData, getParentExpression, getPosture, getPostureAndSweepIfKnown, getProperties, getProperty, getRetainedStaticContext, getSlotsUsed, getSpecialProperties, getStaticBaseURI, getStaticBaseURIString, getStreamability, getStreamingAdjunct, getSweep, getSystemId, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isCallOn, isCallOnSystemFunction, isIdentical, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, makeStreamingAdjunct, markTailFunctionCalls, operandList, operands, operandSparseList, optimizeChildren, optimizeForType, promote, promoteChildren, resetLocalStaticProperties, restoreParentPointers, setEvaluationMethod, setFiltered, setFlattened, setLocation, setParentExpression, setPostureAndSweep, setRetainedStaticContext, setRetainedStaticContextLocally, setStaticProperty, simplifyChildren, staticTypeCheck, suppressValidation, toPattern, toShortString, toStreamingPattern, typeCheckChildren, typeError, unorderedpublic UniversalPattern()
public boolean matches(Item item, XPathContext context)
public UType getUType()
public ItemType getItemType()
getItemType in class Patternpublic int getFingerprint()
getFingerprint in class Patternpublic String toString()
public void export(ExpressionPresenter presenter)
Expressionpublic boolean equals(Object other)
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.