org.apache.fop.fonts
Interface FontResolver
- DefaultFontResolver
public interface FontResolver
This interface is used to resolve absolute and relative font URIs.
Source | resolve(String href) - Called to resolve an URI to a Source instance.
|
resolve
public Source resolve(String href)
Called to resolve an URI to a Source instance. The base URI needed by the URIResolver's
resolve() method is defined to be implicitely available in this case. If the URI cannot
be resolved, null is returned and it is assumed that the FontResolver implementation
already warned the user about the problem.
href
- An href attribute, which may be relative or absolute.
- A Source object, or null if the href could not resolved.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.