|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ssx.xml.output.Namespace
A Data class that holds the three string values that make up a qname, the namespace, the local prefix and the name.
Constructor Summary | |
Namespace()
Create a new, empty namespace |
|
Namespace(String prefix,
String name)
Create an new namespace with the given prefix and name |
Method Summary | |
String |
getName()
Get the namespace URI |
String |
getPrefix()
Get the namespace prefix |
static String |
getQName(Namespace namespace,
String name)
Create the appropriate qname from a namespace and a local name. |
void |
setName(String name)
Set the namespace URI |
void |
setPrefix(String prefix)
Set the namespace prefix |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Namespace()
public Namespace(String prefix, String name)
prefix
- The namespace prefixname
- The namespace URIMethod Detail |
public String getName()
public void setName(String name)
name
- The namespace URIpublic String getPrefix()
public void setPrefix(String prefix)
prefix
- The namespace prefixpublic static String getQName(Namespace namespace, String name)
namespace
- The namespace partname
- The local name part
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |