Constructor | Description |
---|---|
Namespace() |
|
Namespace(String uri) |
|
Namespace(String uri,
String prefix) |
Modifier and Type | Method | Description |
---|---|---|
QName |
get(String localName) |
Returns the QName for the given localName.
|
String |
getPrefix() |
Returns the prefix mapped to this namespace
|
String |
getUri() |
Returns the URI of this namespace
|
public Namespace()
public Namespace(String uri)
public QName get(String localName)
localName
- the local name within thispublic String getPrefix()
public String getUri()