Package groovy.xml
Class Namespace
- java.lang.Object
-
- groovy.xml.Namespace
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
get(String localName)
Returns the QName for the given localName.String
getPrefix()
Returns the prefix mapped to this namespaceString
getUri()
Returns the URI of this namespace
-
-
-
Method Detail
-
get
public QName get(String localName)
Returns the QName for the given localName.- Parameters:
localName
- the local name within this
-
getPrefix
public String getPrefix()
Returns the prefix mapped to this namespace- Returns:
- the prefix assigned to this namespace or null if no namespace is mapped.
-
getUri
public String getUri()
Returns the URI of this namespace- Returns:
- the URI of this namespace
-
-