org.oddjob.arooa.parsing
Interface PrefixMappings

All Known Implementing Classes:
SimplePrefixMappings

public interface PrefixMappings

Abstraction of the mappings from prefix to URI.

Author:
rob

Method Summary
 void add(PrefixMappings otherMappings)
           
 String[] getPrefixes()
           
 String getPrefixFor(URI uri)
           
 QTag getQName(ArooaElement element)
           
 URI getUriFor(String prefix)
           
 void put(String prefix, URI uri)
           
 

Method Detail

add

void add(PrefixMappings otherMappings)
         throws DuplicateMappingsException
Throws:
DuplicateMappingsException

put

void put(String prefix,
         URI uri)
         throws DuplicateMappingsException
Throws:
DuplicateMappingsException

getPrefixFor

String getPrefixFor(URI uri)

getUriFor

URI getUriFor(String prefix)

getPrefixes

String[] getPrefixes()

getQName

QTag getQName(ArooaElement element)