Uses of Class
eu.bandm.tools.tpath.runtime.Context
Package
Description
Infrastructure for evaluating tpath expressions.
txsl = typed xslt 1.0 interpreter with "fragmented validation".
-
Uses of Context in eu.bandm.tools.tpath.runtime
Modifier and TypeMethodDescriptionContext.withFunctions
(Function<NamespaceName, Function<N>> functions) Context.withNamespaces
(Function<String, String> namespaces) Context.withVariables
(Function<NamespaceName, Value<N>> variables) Context.withVariablesAndNamespaces
(Function<NamespaceName, Value<N>> variables, Function<String, String> namespaces) Modifier and TypeMethodDescriptionSimpleInterpreter.apply
(Context<N> context, TPath.Expr expr) static <N> NodeSet<N>
NodeSet.newInstance
(Context<N> context, boolean reverse) static <N> NodeSet<N>
NodeSet.newInstance
(Context<N> context, Iterable<N> nodes, boolean reverse) static <N> NodeSet<N>
NodeSet.newInstance
(Context<N> context, List<N> nodes, boolean reverse) static <N> NodeSet<N>
NodeSet.newInstance
(Context<N> context, N... nodes) static <N> NodeSet<N>
NodeSet.newInstance
(Context<N> context, N node, boolean reverse) protected SimpleInterpreter<N>.Visitor
SimpleInterpreter.newVisitor
(Context<N> context) protected <N> Value<N>
FunctionLibrary.node2stringResult
(Context<N> c, N node) Implements the frequently found convention that non-existing nodes yield an empty string.SimpleInterpreter.step
(Context<N> context, TPath.AxisSpecifier axis, TPath.Test test, List<TPath.Expr> predicates) Modifier and TypeMethodDescriptionprotected void
FunctionLibrary.define
(FunctionSignature sig, BiFunction<Context<N>, List<? extends Value<N>>, Value<N>> impl) ModifierConstructorDescriptionFunction
(NamespaceName name, FunctionSignature type, BiFunction<Context<N>, List<? extends Value<N>>, Value<N>> impl) -
Uses of Context in eu.bandm.tools.xslt.base
Modifier and TypeMethodDescriptionTemplateRegistry.Finder.tmpContext
(N node, Function<String, String> ns) Modifier and TypeMethodDescription(package private) Comparator<Context<N>>
Application.sort2comp
(eu.bandm.tools.xslt.tdom.Element_xsl_sort el) Modifier and TypeMethodDescriptionBuiltInFunctions.AdditionalContext.computeKey
(Context<M> c, NamespaceName name) protected boolean
TemplateRegistry.Finder.matchNotStep
(N node, TPathCache.PatternPart pp, Context ns) protected NamespaceName
protected NamespaceName
(package private) boolean
TemplateRegistry.Finder.patternMatches
(List<N> upward, TPathCache.PatternPart pp, Context nsDefs, boolean lowestTagHasBeenTested) This is just a tuned entry, when the list of ancestors is cached by the caller because more than one PatternParts are going to be tested (as the case when searching templates.)boolean
TemplateRegistry.Finder.patternMatches
(N node, TPathCache.ExprClassified exp, Context tpathContext) Called by Application for realizing "xsl:number".protected boolean
TemplateRegistry.Finder.patternMatches
(N node, TPathCache.PatternPart pp, Context ns) (package private) boolean
TemplateRegistry.Finder.testPredicates
(N node, TPath.Step step, Context nsDefs) Test the predicate of the givenTPath.Step
in a context of node "and the siblings of the context node that match the NodeTest as the context node list" [XSLT 1.0:5.2](package private) boolean
TemplateRegistry.Finder.testStepTag
(N node, TPath.Step expr, Context<N> nsDefs) In case of template finding: called only on non-bottom levels, so node must be element (or document).(package private) boolean
TemplateRegistry.Finder.testUpward
(List<N> upward, TPathCache.PatternPart pp, TPath.Step step, Context nsDefs, int nodeIndex, int patternIndex, int doubleSlashes, boolean lowestTagHasBeenTested) Test bottom up for a pattern match.
Case 1) the pattern is un-rooted and the top node is existentially quantified.
Case 2) the pattern has a UNIQUE root (either document element or some element identified by id() or key()): then this element is at the end of the shortened "upward" parameter.