public class GeneralPositionalPatternADJ extends PatternADJ
pattern| Constructor and Description |
|---|
GeneralPositionalPatternADJ(Pattern p) |
| Modifier and Type | Method and Description |
|---|---|
Pattern |
applyAxis(byte axis)
Convert a pattern to apply to nodes along a given axis.
|
static Expression |
makePosition(Expression expr,
NodeTest nodeTest) |
Pattern |
optimizeForName(int i)
Optimize a pattern with respect to a named node (element or attribute).
|
Pattern |
optimizeForType(int i)
Optimize a pattern with respect to a typed node.
|
copyLocationInfo, evaluateAgainstBoolean, export, getPatternPreconditions, getPreconditions, getRetainedStaticContext, optimizePattern, optimizePattern, unify, unifyingBindingsgetExpressionAdjunct, getNodeTestAdjunct, getPatternAdjunct, index, processRewritespublic GeneralPositionalPatternADJ(Pattern p)
public Pattern optimizeForName(int i)
PatternADJoptimizeForName in class PatternADJi - the fingerprint of the name of the node to be matched.public Pattern optimizeForType(int i)
PatternADJoptimizeForType in class PatternADJi - the type of the node to be matched.public Pattern applyAxis(byte axis)
PatternADJapplyAxis in class PatternADJaxis - The axis to mode this pattern topublic static Expression makePosition(Expression expr, NodeTest nodeTest)
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.