public class SimpleNamespace extends Object implements Namespace
Namespace interface.| Constructor and Description | 
|---|
| SimpleNamespace(String prefix,
               String name)Creates a new Namespace object. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(Namespace o) | 
| boolean | equals(Object obj) | 
| String | getName()Gets the name of the namespace. | 
| String | getPrefix()Gets the prefix of the namespace. | 
| int | hashCode() | 
| 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.public String toString()
public int compareTo(Namespace o)
compareTo in interface Comparable<Namespace>Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.