public class NodeUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Symbol |
collectionResolverSymbol
Symbol used to bind a collection resolver.
|
Constructor and Description |
---|
NodeUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
availableCached(java.lang.Object uri,
java.lang.Object base)
Check if an XML document is available, caching the result.
|
static java.lang.Object |
baseUri(java.lang.Object arg) |
static java.lang.Object |
collection(java.lang.Object uri,
java.lang.Object base) |
static void |
data$X(java.lang.Object arg,
CallContext ctx) |
static java.lang.Object |
docCached(java.lang.Object uri,
java.lang.Object base)
Parse an XML document, caching the result.
|
static java.lang.Object |
documentUri(java.lang.Object arg) |
static java.lang.String |
getLang(KNode node) |
static java.lang.Object |
getSavedCollection(java.lang.Object uri)
Default resolver for fn:collection.
|
static java.lang.Object |
getSavedCollection(java.lang.Object uri,
Environment env)
Default resolver for fn:collection.
|
static void |
id$X(java.lang.Object arg1,
java.lang.Object arg2,
CallContext ctx) |
static java.lang.Object |
idref(java.lang.Object arg1,
java.lang.Object arg2) |
static void |
inScopePrefixes$X(java.lang.Object node,
CallContext ctx) |
static boolean |
lang(java.lang.Object testlang,
java.lang.Object node) |
static java.lang.String |
localName(java.lang.Object node) |
static java.lang.String |
name(java.lang.Object node) |
static java.lang.Object |
namespaceURI(java.lang.Object node) |
static java.lang.Object |
nilled(java.lang.Object arg) |
static java.lang.Object |
nodeName(java.lang.Object node) |
static void |
prefixesFromNodetype(XName name,
Consumer out) |
static java.lang.Object |
root(java.lang.Object arg)
Return the root node of the argument.
|
static KDocument |
rootDocument(java.lang.Object arg)
Return root node, coerced to a document node.
|
static void |
setSavedCollection(java.lang.Object uri,
java.lang.Object value)
Add a uri-to-value binding that setSavedCollection can later return.
|
static void |
setSavedCollection(java.lang.Object uri,
java.lang.Object value,
Environment env)
Add a uri-to-value binding that setSavedCollection can later return.
|
public static final Symbol collectionResolverSymbol
public static java.lang.Object nodeName(java.lang.Object node)
public static java.lang.String name(java.lang.Object node)
public static java.lang.String localName(java.lang.Object node)
public static java.lang.Object namespaceURI(java.lang.Object node)
public static void inScopePrefixes$X(java.lang.Object node, CallContext ctx)
public static void data$X(java.lang.Object arg, CallContext ctx)
public static java.lang.Object root(java.lang.Object arg)
public static KDocument rootDocument(java.lang.Object arg)
public static java.lang.String getLang(KNode node)
public static boolean lang(java.lang.Object testlang, java.lang.Object node)
public static java.lang.Object documentUri(java.lang.Object arg)
public static java.lang.Object nilled(java.lang.Object arg)
public static java.lang.Object baseUri(java.lang.Object arg)
public static void id$X(java.lang.Object arg1, java.lang.Object arg2, CallContext ctx)
public static java.lang.Object idref(java.lang.Object arg1, java.lang.Object arg2)
public static void setSavedCollection(java.lang.Object uri, java.lang.Object value, Environment env)
public static void setSavedCollection(java.lang.Object uri, java.lang.Object value)
public static java.lang.Object getSavedCollection(java.lang.Object uri, Environment env)
public static java.lang.Object getSavedCollection(java.lang.Object uri)
public static java.lang.Object collection(java.lang.Object uri, java.lang.Object base) throws java.lang.Throwable
java.lang.Throwable
public static java.lang.Object docCached(java.lang.Object uri, java.lang.Object base) throws java.lang.Throwable
fn:doc
function.java.lang.Throwable
public static boolean availableCached(java.lang.Object uri, java.lang.Object base) throws java.lang.Throwable
fn:doc-available
function.java.lang.Throwable