Package groovy.xml
Class XmlNodePrinter.NamespaceContext
java.lang.Object
groovy.xml.XmlNodePrinter.NamespaceContext
- Enclosing class:
- XmlNodePrinter
protected static class XmlNodePrinter.NamespaceContext
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description NamespaceContext()
NamespaceContext(XmlNodePrinter.NamespaceContext context)
-
Method Summary
Modifier and Type Method Description java.lang.String
getNamespace(java.lang.String prefix)
boolean
isPrefixRegistered(java.lang.String prefix, java.lang.String uri)
void
registerNamespacePrefix(java.lang.String prefix, java.lang.String uri)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NamespaceContext
public NamespaceContext() -
NamespaceContext
-
-
Method Details
-
isPrefixRegistered
public boolean isPrefixRegistered(java.lang.String prefix, java.lang.String uri) -
registerNamespacePrefix
public void registerNamespacePrefix(java.lang.String prefix, java.lang.String uri) -
getNamespace
public java.lang.String getNamespace(java.lang.String prefix)
-