public class DefaultFontResolver extends java.lang.Object implements FontResolver
Constructor and Description |
---|
DefaultFontResolver(FOUserAgent userAgent)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isComplexScriptFeaturesEnabled()
Check whether complex script features are enabled.
|
javax.xml.transform.Source |
resolve(java.lang.String href)
Called to resolve an URI to a Source instance.
|
public DefaultFontResolver(FOUserAgent userAgent)
userAgent
- the user agentpublic javax.xml.transform.Source resolve(java.lang.String href)
resolve
in interface FontResolver
href
- An href attribute, which may be relative or absolute.public boolean isComplexScriptFeaturesEnabled()
isComplexScriptFeaturesEnabled
in interface FontResolver
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.