Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.portal.resolver.xml
Interface URIResolver

    public interface URIResolver

Resolves (relative) URI references into absolute URIs.

Since:
  7.0
See Also:
  `ResolverXMLFilter`

Method Summary
`java.net.URI` | `getBaseURI()` Returns the current base URI
`java.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`

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD