|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UriResolver
A URI resolver.
This interface provides a means of handling property values specified as
a URI, such as the value of the src property of
external-graphic objects. An application may supply a custom
URI resolver by implementing this interface and calling the setUriResolver method. By default URI
specifications that do not denote an absolute location are considered
relative to the input source URI, unless the option is set.
baseURL
| Method Summary | |
|---|---|
URL |
resolve(String spec,
URL context)
Resolve a URI. |
| Method Detail |
|---|
URL resolve(String spec,
URL context)
throws Exception
The conversion driver will call this method to resolve any URI in property values. This method will be called whether the URI is absolute or relative.
spec - the URI specificationcontext - the input source URI, or null if unknown
null if undefined
Exception - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||