Package | Description |
---|---|
gnu.kawa.xml |
Classes for using XML within Kawa.
|
gnu.xml |
Utilities for working with XML.
|
gnu.xquery.util | |
kawa.lang |
Core Kawa classes for Scheme and Lisp compile-time.
|
Modifier and Type | Field and Description |
---|---|
static NamespaceBinding |
XmlNamespace.HTML_BINDINGS |
Modifier and Type | Method and Description |
---|---|
NamespaceBinding |
MakeElement.getNamespaceNodes() |
NamespaceBinding |
ElementType.getNamespaceNodes() |
Modifier and Type | Method and Description |
---|---|
void |
MakeElement.setNamespaceNodes(NamespaceBinding bindings) |
void |
ElementType.setNamespaceNodes(NamespaceBinding bindings) |
static void |
MakeElement.startElement(Consumer out,
Symbol qname,
int copyNamespacesMode,
NamespaceBinding namespaceNodes) |
static MakeElement |
MakeElement.valueOf(Symbol tag,
NamespaceBinding namespaceNodes,
int options) |
Modifier and Type | Field and Description |
---|---|
static NamespaceBinding |
NamespaceBinding.predefinedXML |
Modifier and Type | Method and Description |
---|---|
static NamespaceBinding |
NamespaceBinding.commonAncestor(NamespaceBinding ns1,
NamespaceBinding ns2) |
NamespaceBinding |
XMLFilter.findNamespaceBinding(java.lang.String prefix,
java.lang.String uri,
NamespaceBinding oldBindings)
Functionally equivalent to
new NamespaceBinding(prefix, uri, oldBindings ,
but uses "hash consing". |
NamespaceBinding |
XName.getNamespaceNodes()
Namespace nodes associated with an element.
|
NamespaceBinding |
NamespaceBinding.getNext() |
static NamespaceBinding |
NamespaceBinding.maybeAdd(java.lang.String prefix,
java.lang.String uri,
NamespaceBinding bindings)
Append a new NamespaceBinding if not redundant.
|
static NamespaceBinding |
NamespaceBinding.nconc(NamespaceBinding list1,
NamespaceBinding list2)
Chain the first list in front of the second list.
|
NamespaceBinding |
NamespaceBinding.reversePrefix(NamespaceBinding fencePost)
Reverse the chain, until a fencePost.
|
Modifier and Type | Method and Description |
---|---|
static NamespaceBinding |
NamespaceBinding.commonAncestor(NamespaceBinding ns1,
NamespaceBinding ns2) |
int |
NamespaceBinding.count(NamespaceBinding fencePost)
Return the number of bindings before the
fencePost . |
NamespaceBinding |
XMLFilter.findNamespaceBinding(java.lang.String prefix,
java.lang.String uri,
NamespaceBinding oldBindings)
Functionally equivalent to
new NamespaceBinding(prefix, uri, oldBindings ,
but uses "hash consing". |
gnu.xml.MappingInfo |
XMLFilter.lookupNamespaceBinding(java.lang.String prefix,
char[] uriChars,
int uriStart,
int uriLength,
int uriHash,
NamespaceBinding oldBindings)
Return a MappingInfo containing a match namespaces.
|
static NamespaceBinding |
NamespaceBinding.maybeAdd(java.lang.String prefix,
java.lang.String uri,
NamespaceBinding bindings)
Append a new NamespaceBinding if not redundant.
|
static NamespaceBinding |
NamespaceBinding.nconc(NamespaceBinding list1,
NamespaceBinding list2)
Chain the first list in front of the second list.
|
java.lang.String |
NamespaceBinding.resolve(java.lang.String prefix,
NamespaceBinding fencePost)
Resolve a prefix, in the initial part of this list.
|
NamespaceBinding |
NamespaceBinding.reversePrefix(NamespaceBinding fencePost)
Reverse the chain, until a fencePost.
|
void |
XName.setNamespaceNodes(NamespaceBinding nodes) |
void |
NamespaceBinding.setNext(NamespaceBinding next) |
Constructor and Description |
---|
NamespaceBinding(java.lang.String prefix,
java.lang.String uri,
NamespaceBinding next) |
XName(Symbol symbol,
NamespaceBinding namespaceNodes) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
QNameUtils.lookupPrefix(java.lang.String prefix,
NamespaceBinding constructorNamespaces,
NamespaceBinding prologNamespaces)
Search for a uri matching the given prefix.
|
static java.lang.String |
QNameUtils.resolvePrefix(java.lang.String prefix,
NamespaceBinding constructorNamespaces,
NamespaceBinding prologNamespaces)
Search for a uri matching the given prefix.
|
static java.lang.Object |
QNameUtils.resolveQName(java.lang.Object qname,
NamespaceBinding constructorNamespaces,
NamespaceBinding prologNamespaces)
Method called from compiled code to "cast" to a QName.
|
Modifier and Type | Field and Description |
---|---|
NamespaceBinding |
Translator.xmlElementNamespaces |