public class SimplePrefixMappings extends Object implements PrefixMappings
| Constructor and Description |
|---|
SimplePrefixMappings() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(NamespaceMappings otherMappings) |
String[] |
getPrefixes()
Get all the prefixes mapped.
|
String |
getPrefixFor(URI uri) |
URI |
getUriFor(String prefix) |
void |
put(String prefix,
URI uri) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitemptyelementFor, qTagForgetQNamepublic void add(NamespaceMappings otherMappings) throws DuplicateMappingsException
add in interface PrefixMappingsDuplicateMappingsExceptionpublic void put(String prefix, URI uri) throws DuplicateMappingsException
put in interface PrefixMappingsDuplicateMappingsExceptionpublic String getPrefixFor(URI uri)
getPrefixFor in interface UriMappingpublic URI getUriFor(String prefix)
getUriFor in interface PrefixMappingpublic String[] getPrefixes()
NamespaceMappingsgetPrefixes in interface NamespaceMappingsCopyright © 2023. All rights reserved.