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 AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final XmlNamespacestatic final NamespaceBindingstatic final StringFields inherited from class Namespace
EmptyNamespace, nsTable, prefix, UNKNOWN_NAMESPACEFields inherited from class AbstractHashTable
DEFAULT_INITIAL_SIZE, mask, num_bindings, table -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XmlNamespacegetInstance(String prefix, String uri) booleanisConstant(String key) voidstatic XmlNamespaceEmitted by compiler to handle literals.voidMethods inherited from class 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, valueOfNoCreateMethods inherited from class AbstractHashTable
clear, entrySet, get, getNode, getOrDefault, hash, hashToIndex, matches, matches, put, put, rehash, remove, sizeMethods inherited from class AbstractMap
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, valuesMethods inherited from interface 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
-
isConstant
- Specified by:
isConstantin interfaceHasNamedParts- Overrides:
isConstantin classNamespace
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classNamespace- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classNamespace- Throws:
IOExceptionClassNotFoundException
-
readResolve
- Overrides:
readResolvein classNamespace- Throws:
ObjectStreamException
-