public class SvgConverterProperties extends Object implements ISvgConverterProperties
ISvgConverterProperties for
DefaultSvgProcessor| Constructor and Description |
|---|
SvgConverterProperties()
Creates a SvgConverterProperties object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUri()
Gets the base URI.
|
String |
getCharset()
Get the name of the Charset to be used when decoding an InputStream.
|
FontProvider |
getFontProvider()
Gets the font provider.
|
MediaDeviceDescription |
getMediaDeviceDescription()
Gets the media device description.
|
ISvgNodeRendererFactory |
getRendererFactory()
Retrieve the factory responsible for creating
ISvgNodeRenderer |
SvgConverterProperties |
setBaseUri(String baseUri)
Sets the base URI.
|
SvgConverterProperties |
setCharset(String charset) |
SvgConverterProperties |
setFontProvider(FontProvider fontProvider) |
SvgConverterProperties |
setMediaDeviceDescription(MediaDeviceDescription mediaDeviceDescription)
Sets the media device description.
|
SvgConverterProperties |
setRendererFactory(ISvgNodeRendererFactory rendererFactory) |
public SvgConverterProperties()
public SvgConverterProperties setRendererFactory(ISvgNodeRendererFactory rendererFactory)
public SvgConverterProperties setFontProvider(FontProvider fontProvider)
public ISvgNodeRendererFactory getRendererFactory()
ISvgConverterPropertiesISvgNodeRenderergetRendererFactory in interface ISvgConverterPropertiesISvgNodeRendererFactory implementationpublic String getCharset()
ISvgConverterPropertiesUTF-8 will
be used (by JSoup).
Please be aware that this method is NOT used when handling a
String variable in the SvgConverter.
getCharset in interface ISvgConverterPropertiesCharset used for decodingpublic SvgConverterProperties setCharset(String charset)
public String getBaseUri()
getBaseUri in interface ISvgConverterPropertiespublic FontProvider getFontProvider()
getFontProvider in interface ISvgConverterPropertiespublic MediaDeviceDescription getMediaDeviceDescription()
getMediaDeviceDescription in interface ISvgConverterPropertiespublic SvgConverterProperties setMediaDeviceDescription(MediaDeviceDescription mediaDeviceDescription)
mediaDeviceDescription - the media device descriptionpublic SvgConverterProperties setBaseUri(String baseUri)
baseUri - the base URICopyright © 1998–2019 iText Group NV. All rights reserved.