Package com.itextpdf.svg.processors.impl
Class SvgProcessorResult
java.lang.Object
com.itextpdf.svg.processors.impl.SvgProcessorResult
- All Implemented Interfaces:
-
ISvgProcessorResult
A wrapper class that encapsulates processing results of
ISvgProcessor
objects.
-
Constructor Summary
ConstructorDescriptionSvgProcessorResult
(Map<String, ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, SvgProcessorContext context) Creates newSvgProcessorResult
entity. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets processor context, containingFontProvider
andFontSet
of temporary fonts inside.Obtains theFontProvider
.Obtains a map of named-objects with their id's as keys and the objects as valuesObtains the wrappedISvgNodeRenderer
root renderer.Obtains the list of temporary fontsint
hashCode()
-
Constructor Details
-
SvgProcessorResult
public SvgProcessorResult(Map<String, ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, SvgProcessorContext context) Creates newSvgProcessorResult
entity.- Parameters:
-
namedObjects
- a map of named-objects with their id's asString
keys and theISvgNodeRenderer
objects as values. -
root
- a wrappedISvgNodeRenderer
root renderer. -
context
- aSvgProcessorContext
instance.
-
-
Method Details
-
getNamedObjects
Description copied from interface:ISvgProcessorResult
Obtains a map of named-objects with their id's as keys and the objects as values- Specified by:
-
getNamedObjects
in interfaceISvgProcessorResult
- Returns:
-
Map of Strings as keys and
ISvgNodeRenderer
as values
-
getRootRenderer
Description copied from interface:ISvgProcessorResult
Obtains the wrappedISvgNodeRenderer
root renderer.- Specified by:
-
getRootRenderer
in interfaceISvgProcessorResult
- Returns:
- ISvgNodeRenderer
-
getFontProvider
Description copied from interface:ISvgProcessorResult
Obtains theFontProvider
.- Specified by:
-
getFontProvider
in interfaceISvgProcessorResult
- Returns:
- FontProvider
-
getTempFonts
Description copied from interface:ISvgProcessorResult
Obtains the list of temporary fonts- Specified by:
-
getTempFonts
in interfaceISvgProcessorResult
- Returns:
- FontSet
-
getContext
Gets processor context, containingFontProvider
andFontSet
of temporary fonts inside.- Returns:
-
SvgProcessorContext
instance
-
equals
-
hashCode
public int hashCode()
-