Package com.helger.xml.namespace
Class AbstractNamespaceContext
java.lang.Object
com.helger.xml.namespace.AbstractNamespaceContext
- All Implemented Interfaces:
IIterableNamespaceContext,NamespaceContext
- Direct Known Subclasses:
MapBasedNamespaceContext,SingleElementNamespaceContext
Represents an abstract namespace context that does the predefined mapping as
stated in the Javadoc.
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringgetCustomNamespaceURI(String sPrefix) protected abstract StringgetCustomPrefix(String sNamespaceURI) getCustomPrefixes(String sNamespaceURI) abstract Stringfinal StringgetNamespaceURI(String sPrefix) final StringgetPrefixes(String sNamespaceURI) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.helger.xml.namespace.IIterableNamespaceContext
getPrefixToNamespaceURIMap
-
Constructor Details
-
AbstractNamespaceContext
public AbstractNamespaceContext()
-
-
Method Details
-
getDefaultNamespaceURI
-
getCustomPrefixes
-
getPrefixes
- Specified by:
getPrefixesin interfaceNamespaceContext
-
getCustomPrefix
-
getPrefix
- Specified by:
getPrefixin interfaceNamespaceContext
-
getCustomNamespaceURI
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNamespaceContext
-