Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.resolver.xml
Interface URIResolver
public interface URIResolverResolves (relative) URI references into absolute URIs.
- Since:
- 7.0
- See Also:
- ResolverXMLFilter
Method Summary java.net.URI getBaseURI()
Return the current base URIjava.net.URI resolve(java.lang.String href)
Resolves a (relative) URI reference into a full URI.void setBaseURI(java.net.URI aURI)
sets the base URI for the resolution process
Method Detail getBaseURI
java.net.URI getBaseURI()
- Returns the current base URI
- Returns:
- base URI, not null
resolve
java.net.URI resolve(java.lang.String href) throws java.net.URISyntaxException, java.io.IOException
- Resolves a (relative) URI reference into a full URI. Implementors can e.g. consider to take the xml:base tage into account when doing this resolution
- Parameters:
- href - URI reference (potentially relative) that needs to be resolved to an absolute URI
- Returns:
- the absolute URI that corresponds to the input parameter
- Throws:
- java.net.URISyntaxException - - if there was a syntax error constucting the URI
- java.io.IOException - - if there was an error constructing the relative URI
setBaseURI
void setBaseURI(java.net.URI aURI)
- sets the base URI for the resolution process
- Parameters:
- aURI - URI to be used as the new base URI for subsequent resolution steps, not null
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD