Package groovy.xml
Class Namespace
- java.lang.Object
- 
- groovy.xml.Namespace
 
- 
 public class Namespace extends java.lang.ObjectA simple helper class which acts as a factory ofQNameinstances.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QNameget(java.lang.String localName)Returns the QName for the given localName.java.lang.StringgetPrefix()Returns the prefix mapped to this namespacejava.lang.StringgetUri()Returns the URI of this namespace
 
- 
- 
- 
Method Detail- 
getpublic QName get(java.lang.String localName) Returns 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
 
 
- 
 
-