org.forgerock.maven.plugins.utils
Class XmlNamespaceContext

java.lang.Object
  extended by org.forgerock.maven.plugins.utils.XmlNamespaceContext
All Implemented Interfaces:
NamespaceContext

public class XmlNamespaceContext
extends Object
implements NamespaceContext

A simple NamespaceContext implementation to map the "xml" prefix to the XML Namespace URI.


Constructor Summary
XmlNamespaceContext()
           
 
Method Summary
 String getNamespaceURI(String prefix)
           
 String getPrefix(String namespaceURI)
           
 Iterator getPrefixes(String namespaceURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlNamespaceContext

public XmlNamespaceContext()
Method Detail

getNamespaceURI

public String getNamespaceURI(String prefix)
Specified by:
getNamespaceURI in interface NamespaceContext

getPrefix

public String getPrefix(String namespaceURI)
Specified by:
getPrefix in interface NamespaceContext

getPrefixes

public Iterator getPrefixes(String namespaceURI)
Specified by:
getPrefixes in interface NamespaceContext


Copyright © 2015. All rights reserved.