Package groovy.xml
Class Namespace
java.lang.Object
groovy.xml.Namespace
public class Namespace
extends java.lang.Object
A simple helper class which acts as a factory of 
QName instances.- 
Constructor Summary
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
Namespacepublic Namespace()
- 
Namespacepublic Namespace(java.lang.String uri)
- 
Namespacepublic Namespace(java.lang.String uri, java.lang.String prefix)
 
- 
- 
Method Details- 
getReturns the QName for the given localName.- Parameters:
- localName- the local name within this
 
- 
getPrefixpublic java.lang.String getPrefix()Returns the prefix mapped to this namespace- Returns:
- the prefix assigned to this namespace or null if no namespace is mapped.
 
- 
getUripublic java.lang.String getUri()Returns the URI of this namespace- Returns:
- the URI of this namespace
 
 
-