Modifier and Type | Method and Description |
---|---|
static Namespace |
create(Object o)
Converts the specified object into a
Namespace object. |
static Namespace |
create(String key)
Create a
Namespace from a |
static Namespace |
create(String name,
String uri)
Create a
Namespace with the specified name and URI. |
static Namespace[] |
createArray(Object o)
Converts the specified object into an array of
Namespace object. |
String |
getName()
Returns the namespace name.
|
String |
getUri()
Returns the namespace URI.
|
String |
toString() |
public static Namespace create(String name, String uri)
Namespace
with the specified name and URI.
Previously-encountered name/uri pairs return a cached copy.
public static Namespace create(String key)
Namespace
from a key
- The key/pair string.public static Namespace create(Object o)
Namespace
object.
Can be any of following types:
Namespace
object
o
- The input.public static Namespace[] createArray(Object o)
Namespace
object.
Can be any of following types:
Namespace
array
createArray(Object)
.
o
- The input.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.