|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.xml.Namespace
A simple helper class which acts as a factory of QName
instances.
Constructor Summary | |
Namespace()
|
|
Namespace(String uri)
|
|
Namespace(String uri,
String prefix)
|
Method Summary | |
QName |
get(String localName)
Returns the QName for the given localName. |
String |
getPrefix()
Returns the prefix mapped to this namespace |
String |
getUri()
Returns the URI of this namespace |
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 uri)
public Namespace(String uri, String prefix)
Method Detail |
public QName get(String localName)
localName
- the local name within this
public String getPrefix()
public String getUri()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |