Package | Description |
---|---|
eu.bandm.tools.tpath.runtime |
Infrastructure for evaluating tpath expressions.
|
eu.bandm.tools.xslt.base |
txsl = typed xslt 1.0 interpreter with "fragmented validation".
|
Modifier and Type | Class and Description |
---|---|
class |
Boolean<N> |
class |
Lazy<N> |
class |
NodeSet<N>
Needs a
DocumentClient , currently only for DocumentClient.stringValue(N) . |
class |
Number<N> |
class |
String<N> |
Modifier and Type | Field and Description |
---|---|
protected Value<N> |
SimpleInterpreter.Visitor.result |
protected Value<N> |
Lazy.value |
Modifier and Type | Method and Description |
---|---|
Value<N> |
SimpleInterpreter.apply(Context<N> context,
TPath.Expr expr) |
protected abstract Value<N> |
Lazy.eval() |
Value<N> |
Context.getVariable(String qname) |
protected <N> Value<N> |
FunctionLibrary.node2stringResult(Context<N> c,
N node)
Implements the frequently found convention that non-existing nodes yield an empty string.
|
protected <N> Value<N> |
FunctionLibrary.string2stringResult(String s)
Implements the frequently found convention that String=null yield an empty string.
|
Value<N> |
NodeSet.stringValue(N n) |
static <N> Value<N> |
Value.value(boolean value) |
static <N> Value<N> |
Value.value(double value) |
static <N> Value<N> |
Value.value(String value) |
Modifier and Type | Method and Description |
---|---|
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.and() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.and() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.and() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.div() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.div() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.div() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.eq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.eq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.eq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.geq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.geq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.geq() |
BiFunction<Context<N>,List<? extends Value<N>>,Value<N>> |
Function.getImplementation() |
BiFunction<Context<N>,List<? extends Value<N>>,Value<N>> |
Function.getImplementation() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.gt() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.gt() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.gt() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.leq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.leq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.leq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.lt() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.lt() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.lt() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.minus() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.minus() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.minus() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.mod() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.mod() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.mod() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.mult() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.mult() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.mult() |
static <N> Function<Value<N>,Value<N>> |
Operators.neg() |
static <N> Function<Value<N>,Value<N>> |
Operators.neg() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.neq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.neq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.neq() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.or() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.or() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.or() |
static <N> Function<Value<N>,Value<N>> |
Operators.paren() |
static <N> Function<Value<N>,Value<N>> |
Operators.paren() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.plus() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.plus() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.plus() |
protected BiFunction<Value<N>,Value<N>,Value<N>> |
SimpleInterpreter.Visitor.union() |
protected BiFunction<Value<N>,Value<N>,Value<N>> |
SimpleInterpreter.Visitor.union() |
protected BiFunction<Value<N>,Value<N>,Value<N>> |
SimpleInterpreter.Visitor.union() |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.union(DocumentClient<N> client,
Comparator<? super N> documentOrder) |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.union(DocumentClient<N> client,
Comparator<? super N> documentOrder) |
static <N> BiFunction<Value<N>,Value<N>,Value<N>> |
Operators.union(DocumentClient<N> client,
Comparator<? super N> documentOrder) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
FunctionLibrary.oneOrMoreStrings(DocumentClient<N> dc,
Value<N> value)
Implements the frequently found conversion of a node set to a list of strings.
|
protected static <N> boolean |
Operators.relate(eu.bandm.tools.tpath.runtime.Operators.Relation rel,
Value<N> x,
Value<N> y) |
protected static <N> boolean |
Operators.relate(eu.bandm.tools.tpath.runtime.Operators.Relation rel,
Value<N> x,
Value<N> y) |
Modifier and Type | Method and Description |
---|---|
protected void |
FunctionLibrary.define(FunctionSignature sig,
BiFunction<Context<N>,List<? extends Value<N>>,Value<N>> impl) |
protected void |
FunctionLibrary.define(FunctionSignature sig,
BiFunction<Context<N>,List<? extends Value<N>>,Value<N>> impl) |
protected void |
SimpleInterpreter.Visitor.op(TPath.BinaryExpr x,
BiFunction<Value<N>,Value<N>,Value<N>> op) |
protected void |
SimpleInterpreter.Visitor.op(TPath.BinaryExpr x,
BiFunction<Value<N>,Value<N>,Value<N>> op) |
protected void |
SimpleInterpreter.Visitor.op(TPath.BinaryExpr x,
BiFunction<Value<N>,Value<N>,Value<N>> op) |
protected void |
SimpleInterpreter.Visitor.op(TPath.UnaryExpr x,
Function<Value<N>,Value<N>> op) |
protected void |
SimpleInterpreter.Visitor.op(TPath.UnaryExpr x,
Function<Value<N>,Value<N>> op) |
protected static boolean |
FunctionLibrary.P_boolean(List<? extends Value<?>> values,
int pos) |
protected static boolean |
FunctionLibrary.P_exists(List<? extends Value<?>> values,
int pos) |
protected boolean |
FunctionLibrary.P_hasLeadingNodeSet(List<? extends Value<N>> values) |
protected static int |
FunctionLibrary.P_int(List<? extends Value<?>> values,
int pos)
eg.
|
protected N |
FunctionLibrary.P_leadingDocOrderNode(List<? extends Value<N>> values,
int pos) |
protected NodeSet<N> |
FunctionLibrary.P_nodeSet(List<? extends Value<N>> values,
int pos) |
protected static double |
FunctionLibrary.P_number(List<? extends Value<?>> values,
int pos) |
protected static String |
FunctionLibrary.P_string(List<? extends Value<?>> values,
int pos) |
Context<N> |
Context.withVariables(Function<NamespaceName,Value<N>> variables) |
ContextSequence<N> |
ContextSequence.withVariables(Function<NamespaceName,Value<N>> variables) |
Context<N> |
Context.withVariablesAndNamespaces(Function<NamespaceName,Value<N>> variables,
Function<String,String> namespaces) |
Constructor and Description |
---|
NodeSetException(Value value) |
Constructor and Description |
---|
Context(DocumentClient<N> client,
N node,
Function<NamespaceName,Value<N>> variables,
Function<NamespaceName,Function<N>> functions,
Function<String,String> namespaces) |
ContextSequence(NodeSet<N> set,
Function<NamespaceName,Value<N>> variables,
Function<NamespaceName,Function<N>> functions,
Function<String,String> namespaces) |
Function(NamespaceName name,
FunctionSignature type,
BiFunction<Context<N>,List<? extends Value<N>>,Value<N>> impl) |
Function(NamespaceName name,
FunctionSignature type,
BiFunction<Context<N>,List<? extends Value<N>>,Value<N>> impl) |
Modifier and Type | Class and Description |
---|---|
protected class |
Application.Value_RS<N>
A "Result tree fragment" is a new kind of tpath value, namely a node set
on the OUTPUT side, i.e.
|
Modifier and Type | Field and Description |
---|---|
Value<N> |
Application._VARIABLE_CIRCULAR |
Value<N> |
Application._VARIABLE_UNDEF |
protected Value<N> |
BuiltInFunctions.emptyString |
Modifier and Type | Field and Description |
---|---|
Map<NamespaceName,Value<N>> |
Application.emptyParameterValues |
Function<NamespaceName,Value<N>> |
TemplateRegistry.Finder.noVars |
Modifier and Type | Method and Description |
---|---|
protected void |
Application._traceTest(String prefixText,
TypedElement el,
String testSource,
Value result) |
protected void |
Application.pushBinding(NamespaceName name,
Value<N> value) |
Modifier and Type | Method and Description |
---|---|
protected NamespaceName |
BuiltInFunctions.P_readNamespaceName(Context<N> c,
List<? extends Value<N>> values,
int index) |
protected NamespaceName |
BuiltInFunctions.P_readOneNamespaceName(Context<N> c,
List<? extends Value<N>> values) |
see also the complete user documentation .