com.xmlmind.domutil
Interface Resolver

All Known Implementing Classes:
ResolverImpl

public interface Resolver

Specifies an entity and URI resolver service.

This service is typically implemented using XML catalog based resolvers.

Implementations should be thread-safe.


Method Summary
 org.xml.sax.EntityResolver getEntityResolver()
          Returns a properly configured, ready to use, EntityResolver.
 javax.xml.transform.URIResolver getURIResolver()
          Returns a properly configured, ready to use, URIResolver.
 java.lang.String resolveURI(java.lang.String uri)
          Resolves specified URI.
 

Method Detail

getEntityResolver

org.xml.sax.EntityResolver getEntityResolver()
Returns a properly configured, ready to use, EntityResolver. May return null.


getURIResolver

javax.xml.transform.URIResolver getURIResolver()
Returns a properly configured, ready to use, URIResolver. May return null.


resolveURI

java.lang.String resolveURI(java.lang.String uri)
Resolves specified URI. If a mapping is found for specified URI, this mapping is returned. Otherwise returns null.

Parameters:
uri - URI for which a mapping is to be found. This URI may have a fragment.
Returns:
found mapping or null