public class SimpleNamespace extends AbstractNamespace
Namespace interface.| Constructor and Description |
|---|
SimpleNamespace(String prefix,
String name)
Creates a new Namespace 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.
|
compareTo, equals, hashCode, toStringpublic 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 © 2015-2021 Eclipse Foundation. All Rights Reserved.