public class XmlNamespace extends Namespace implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
static XmlNamespace |
HTML |
static NamespaceBinding |
HTML_BINDINGS |
static java.lang.String |
XHTML_NAMESPACE |
EmptyNamespace, nsTable, prefix, UNKNOWN_NAMESPACE
DEFAULT_INITIAL_SIZE, mask, num_bindings, table
Constructor and Description |
---|
XmlNamespace()
Only for use when serializing.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String name) |
static XmlNamespace |
getInstance(java.lang.String prefix,
java.lang.String uri) |
boolean |
isConstant(java.lang.String key) |
void |
readExternal(java.io.ObjectInput in) |
java.lang.Object |
readResolve() |
static XmlNamespace |
valueOf(java.lang.String name,
java.lang.String prefix)
Emitted by compiler to handle literals.
|
void |
writeExternal(java.io.ObjectOutput out) |
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
clear, entrySet, get, getNode, getOrDefault, hash, hashToIndex, matches, matches, put, put, rehash, remove, size
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, values
public static final java.lang.String XHTML_NAMESPACE
public static final XmlNamespace HTML
public static final NamespaceBinding HTML_BINDINGS
public static XmlNamespace getInstance(java.lang.String prefix, java.lang.String uri)
public static XmlNamespace valueOf(java.lang.String name, java.lang.String prefix)
public java.lang.Object get(java.lang.String name)
get
in interface HasNamedParts
get
in class Namespace
public boolean isConstant(java.lang.String key)
isConstant
in interface HasNamedParts
isConstant
in class Namespace
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class Namespace
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class Namespace
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.Object readResolve() throws java.io.ObjectStreamException
readResolve
in class Namespace
java.io.ObjectStreamException