Package org.oddjob.arooa.parsing
Class SimplePrefixMappings
java.lang.Object
org.oddjob.arooa.parsing.SimplePrefixMappings
- All Implemented Interfaces:
NamespaceMappings,PrefixMapping,PrefixMappings,UriMapping
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(NamespaceMappings otherMappings) String[]Get all the prefixes mapped.getPrefixFor(URI uri) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.oddjob.arooa.parsing.PrefixMapping
elementFor, qTagForMethods inherited from interface org.oddjob.arooa.parsing.UriMapping
getQName
-
Constructor Details
-
SimplePrefixMappings
public SimplePrefixMappings()
-
-
Method Details
-
add
- Specified by:
addin interfacePrefixMappings- Throws:
DuplicateMappingsException
-
put
- Specified by:
putin interfacePrefixMappings- Throws:
DuplicateMappingsException
-
getPrefixFor
- Specified by:
getPrefixForin interfaceUriMapping
-
getUriFor
- Specified by:
getUriForin interfacePrefixMapping
-
getPrefixes
Description copied from interface:NamespaceMappingsGet all the prefixes mapped.- Specified by:
getPrefixesin interfaceNamespaceMappings- Returns:
- The prefixes. Maybe be empt but never null.
-