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()
ISvgConverterProperties
ISvgNodeRenderer
getRendererFactory
in interface ISvgConverterProperties
ISvgNodeRendererFactory
implementation
public String getCharset()
ISvgConverterProperties
UTF-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 ISvgConverterProperties
Charset
used for decoding
public SvgConverterProperties setCharset(String charset)
public String getBaseUri()
getBaseUri
in interface ISvgConverterProperties
public FontProvider getFontProvider()
getFontProvider
in interface ISvgConverterProperties
public MediaDeviceDescription getMediaDeviceDescription()
getMediaDeviceDescription
in interface ISvgConverterProperties
public SvgConverterProperties setMediaDeviceDescription(MediaDeviceDescription mediaDeviceDescription)
mediaDeviceDescription
- the media device description
public SvgConverterProperties setBaseUri(String baseUri)
baseUri
- the base URI
Copyright © 1998–2020 iText Group NV. All rights reserved.