public class SvgConverterProperties extends Object implements ISvgConverterProperties
ISvgConverterProperties for
DefaultSvgProcessor.| Constructor and Description |
|---|
SvgConverterProperties()
Creates a new
SvgConverterProperties instance. |
| 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.
|
com.itextpdf.layout.font.FontProvider |
getFontProvider()
Gets the font provider.
|
com.itextpdf.styledxmlparser.css.media.MediaDeviceDescription |
getMediaDeviceDescription()
Gets the media device description.
|
ISvgNodeRendererFactory |
getRendererFactory()
Retrieve the factory responsible for creating
ISvgNodeRenderer |
com.itextpdf.styledxmlparser.resolver.resource.IResourceRetriever |
getResourceRetriever()
Gets the resource retriever.
|
SvgConverterProperties |
setBaseUri(String baseUri)
Sets the base URI.
|
SvgConverterProperties |
setCharset(String charset) |
SvgConverterProperties |
setFontProvider(com.itextpdf.layout.font.FontProvider fontProvider) |
SvgConverterProperties |
setMediaDeviceDescription(com.itextpdf.styledxmlparser.css.media.MediaDeviceDescription mediaDeviceDescription)
Sets the media device description.
|
SvgConverterProperties |
setRendererFactory(ISvgNodeRendererFactory rendererFactory) |
SvgConverterProperties |
setResourceRetriever(com.itextpdf.styledxmlparser.resolver.resource.IResourceRetriever resourceRetriever)
Sets the resource retriever.
|
public SvgConverterProperties()
SvgConverterProperties instance.
Instantiates its members, IResourceRetriever and ISvgNodeRendererFactory, to its default implementations.public SvgConverterProperties setRendererFactory(ISvgNodeRendererFactory rendererFactory)
public SvgConverterProperties setFontProvider(com.itextpdf.layout.font.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 com.itextpdf.layout.font.FontProvider getFontProvider()
getFontProvider in interface ISvgConverterPropertiespublic com.itextpdf.styledxmlparser.css.media.MediaDeviceDescription getMediaDeviceDescription()
getMediaDeviceDescription in interface ISvgConverterPropertiespublic SvgConverterProperties setMediaDeviceDescription(com.itextpdf.styledxmlparser.css.media.MediaDeviceDescription mediaDeviceDescription)
mediaDeviceDescription - the media device descriptionpublic SvgConverterProperties setBaseUri(String baseUri)
baseUri - the base URIpublic com.itextpdf.styledxmlparser.resolver.resource.IResourceRetriever getResourceRetriever()
public SvgConverterProperties setResourceRetriever(com.itextpdf.styledxmlparser.resolver.resource.IResourceRetriever resourceRetriever)
resourceRetriever - the resource retrieverSvgConverterProperties instanceCopyright © 1998–2021 iText Group NV. All rights reserved.