Package gnu.kawa.xml
Class XmlNamespace
java.lang.Object
java.util.AbstractMap<String,Symbol>
gnu.kawa.util.AbstractHashTable<gnu.mapping.SymbolRef,String,Symbol>
gnu.mapping.Namespace
gnu.kawa.xml.XmlNamespace
- All Implemented Interfaces:
HasNamedParts
,Externalizable
,Serializable
,Map<String,
Symbol>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final XmlNamespace
static final NamespaceBinding
static final String
Fields inherited from class gnu.mapping.Namespace
EmptyNamespace, nsTable, prefix, UNKNOWN_NAMESPACE
Fields inherited from class gnu.kawa.util.AbstractHashTable
DEFAULT_INITIAL_SIZE, mask, num_bindings, table
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XmlNamespace
getInstance
(String prefix, String uri) boolean
isConstant
(String key) void
static XmlNamespace
Emitted by compiler to handle literals.void
Methods inherited from class gnu.mapping.Namespace
add, allocEntries, create, create, get, getDefault, getDefaultSymbol, getEntryHashCode, getEntryNext, getName, getPrefix, getSymbol, isUnknownNamespace, lookup, lookup, lookupInternal, makeEntry, makeUnknownNamespace, remove, setEntryNext, setName, toString, valueOf, valueOf, valueOf, valueOfNoCreate
Methods inherited from class gnu.kawa.util.AbstractHashTable
clear, entrySet, get, getNode, getOrDefault, hash, hashToIndex, matches, matches, put, put, rehash, remove, size
Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
XHTML_NAMESPACE
- See Also:
-
HTML
-
HTML_BINDINGS
-
-
Constructor Details
-
XmlNamespace
public XmlNamespace()Only for use when serializing.
-
-
Method Details
-
getInstance
-
valueOf
Emitted by compiler to handle literals. -
get
- Specified by:
get
in interfaceHasNamedParts
- Overrides:
get
in classNamespace
-
isConstant
- Specified by:
isConstant
in interfaceHasNamedParts
- Overrides:
isConstant
in classNamespace
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classNamespace
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classNamespace
- Throws:
IOException
ClassNotFoundException
-
readResolve
- Overrides:
readResolve
in classNamespace
- Throws:
ObjectStreamException
-