org.oddjob.arooa.parsing
Class SimplePrefixMappings
java.lang.Object
org.oddjob.arooa.parsing.SimplePrefixMappings
- All Implemented Interfaces:
- PrefixMappings
public class SimplePrefixMappings
- extends Object
- implements PrefixMappings
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePrefixMappings
public SimplePrefixMappings()
add
public void add(PrefixMappings otherMappings)
throws DuplicateMappingsException
- Specified by:
add
in interface PrefixMappings
- Throws:
DuplicateMappingsException
put
public void put(String prefix,
URI uri)
throws DuplicateMappingsException
- Specified by:
put
in interface PrefixMappings
- Throws:
DuplicateMappingsException
getPrefixFor
public String getPrefixFor(URI uri)
- Specified by:
getPrefixFor
in interface PrefixMappings
getUriFor
public URI getUriFor(String prefix)
- Specified by:
getUriFor
in interface PrefixMappings
getPrefixes
public String[] getPrefixes()
- Specified by:
getPrefixes
in interface PrefixMappings
getQName
public QTag getQName(ArooaElement element)
- Specified by:
getQName
in interface PrefixMappings