Package eu.bandm.tools.xslt.base
Class BuiltInFunctions<N>
java.lang.Object
eu.bandm.tools.tpath.runtime.FunctionLibrary<N>
eu.bandm.tools.xslt.base.BuiltInFunctions<N>
Realizes all built-in functions for xslt, including those already
defined for xpath.
The latter are realized by calling
This list is in the same order as that document:
FunctionLibrary.addAll(FunctionLibrary,boolean)
with an instance of BuiltInFunctions
.
The functions defined additionally for xslt are in
[XSLT 1.0:12 Additional Functions].
This list is in the same order as that document:
- [XSLT 1.0:12.1] Function: node-set document(object, node-set?)
- [XSLT 1.0:12.2] Function: node-set key(string, object)
- [XSLT 1.0:12.3] Function: string format-number(number, string, string?)
- [XSLT 1.0:12.4] Function: node-set current()
- [XSLT 1.0:12.4] Function: string unparsed-entity-uri(string)
- [XSLT 1.0:12.4] Function: string generate-id(node-set?)
- [XSLT 1.0:12.4] Function: object system-property (string)
- [XSLT 1.0:15] Function: boolean element-available(string)
- [XSLT 1.0:15] Function: boolean function-available(string)
- [XSLT 1.0:G] function string resolve(node-set)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Container for the application specific values required by the built-in xslt standard function. -
Field Summary
Modifier and TypeFieldDescriptionprotected BuiltInFunctions.AdditionalContext<N>
protected final Map<NamespaceName,
Multimap<String, N>> protected final boolean
-
Constructor Summary
ConstructorDescriptionBuiltInFunctions
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, boolean traceUriResolution) -
Method Summary
Modifier and TypeMethodDescriptionprotected NamespaceName
protected NamespaceName
void
setAdditionalContext
(BuiltInFunctions.AdditionalContext<N> additionalContext) Methods inherited from class eu.bandm.tools.tpath.runtime.FunctionLibrary
addAll, define, dump, error, error, hint, log, log, node2stringResult, oneOrMoreStrings, P_boolean, P_exists, P_hasLeadingNodeSet, P_int, P_leadingDocOrderNode, P_nodeSet, P_number, P_string, string2stringResult, T, warning, warning
-
Field Details
-
additionalContext
-
ids
-
emptyString
-
keys
-
traceUriResolution
protected final boolean traceUriResolution
-
-
Constructor Details
-
BuiltInFunctions
public BuiltInFunctions(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, boolean traceUriResolution)
-
-
Method Details
-
setAdditionalContext
-
P_readOneNamespaceName
-
P_readNamespaceName
-