public class NamespaceImpl extends Object implements Namespace
Namespace interface.| Constructor and Description |
|---|
NamespaceImpl(String prefix,
String name)
Creates a new NamespaceImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the namespace.
|
String |
getPrefix()
Gets the prefix of the namespace.
|
void |
setName(String name)
Sets the name of the namespace.
|
void |
setPrefix(String prefix)
Sets the prefix of the namespace.
|
String |
toString()
Returns a string representation of the object.
|
public String getPrefix()
public void setPrefix(String prefix)
prefix - The (new) prefix for this namespace.public String getName()
public void setName(String name)
name - The (new) name for this namespace.Copyright © 2001-2013 Aduna. All Rights Reserved.