Uses of Class
eu.bandm.tools.tpath.runtime.Context
Packages that use 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
Fields in eu.bandm.tools.tpath.runtime declared as ContextFields in eu.bandm.tools.tpath.runtime with type parameters of type ContextMethods in eu.bandm.tools.tpath.runtime that return ContextModifier 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) Methods in eu.bandm.tools.tpath.runtime that return types with arguments of type ContextMethods in eu.bandm.tools.tpath.runtime with parameters of type ContextModifier 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>.VisitorSimpleInterpreter.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) Method parameters in eu.bandm.tools.tpath.runtime with type arguments of type ContextModifier and TypeMethodDescriptionprotected voidFunctionLibrary.define(FunctionSignature sig, BiFunction<Context<N>, List<? extends Value<N>>, Value<N>> impl) Constructors in eu.bandm.tools.tpath.runtime with parameters of type ContextConstructor parameters in eu.bandm.tools.tpath.runtime with type arguments of type ContextModifierConstructorDescriptionFunction(NamespaceName name, FunctionSignature type, BiFunction<Context<N>, List<? extends Value<N>>, Value<N>> impl) -
Uses of Context in eu.bandm.tools.xslt.base
Fields in eu.bandm.tools.xslt.base declared as ContextFields in eu.bandm.tools.xslt.base with type parameters of type ContextMethods in eu.bandm.tools.xslt.base that return ContextModifier and TypeMethodDescriptionTemplateRegistry.Finder.tmpContext(N node, Function<String, String> ns) Methods in eu.bandm.tools.xslt.base that return types with arguments of type ContextModifier and TypeMethodDescription(package private) Comparator<Context<N>> Application.sort2comp(eu.bandm.tools.xslt.tdom.Element_xsl_sort el) Methods in eu.bandm.tools.xslt.base with parameters of type ContextModifier and TypeMethodDescriptionBuiltInFunctions.AdditionalContext.computeKey(Context<M> c, NamespaceName name) protected booleanTemplateRegistry.Finder.matchNotStep(N node, TPathCache.PatternPart pp, Context ns) protected NamespaceNameprotected NamespaceName(package private) booleanTemplateRegistry.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.)booleanTemplateRegistry.Finder.patternMatches(N node, TPathCache.ExprClassified exp, Context tpathContext) Called by Application for realizing "xsl:number".protected booleanTemplateRegistry.Finder.patternMatches(N node, TPathCache.PatternPart pp, Context ns) (package private) booleanTemplateRegistry.Finder.testPredicates(N node, TPath.Step step, Context nsDefs) Test the predicate of the givenTPath.Stepin 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) booleanTemplateRegistry.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) booleanTemplateRegistry.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.