Constructor and Description |
---|
Namespace(int kind) |
Namespace(int kind,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Check name-oriented equality unless the kind is private, for private
namespaces use identity semantics.
|
static int |
extractApiVersion(String uri)
Get the API version from a Namespace's name.
|
int |
getApiVersion() |
int |
getKind() |
String |
getName() |
String |
getVersionedName() |
int |
hashCode()
Use name-oriented hashing unless the kind is private, for private
namespaces use identity semantics.
|
void |
setMergePrivateNamespaces(boolean mergePrivateNamespaces)
Set whether or not private namespaces should be merged
|
String |
toString() |
public Namespace(int kind)
public Namespace(int kind, String name)
public int hashCode()
public boolean equals(Object obj)
public int getKind()
public String getName()
public String getVersionedName()
public int getApiVersion()
public static int extractApiVersion(String uri)
public void setMergePrivateNamespaces(boolean mergePrivateNamespaces)
mergePrivateNamespaces
- true
Copyright © 2016 The Apache Software Foundation. All rights reserved.