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.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SvgProcessorContextprivate final Map<String, ISvgNodeRenderer> private final ISvgNodeRenderer -
Constructor Summary
ConstructorsConstructorDescriptionSvgProcessorResult(Map<String, ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, SvgProcessorContext context) Creates newSvgProcessorResultentity. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets processor context, containingFontProviderandFontSetof temporary fonts inside.Obtains theFontProvider.Obtains a map of named-objects with their id's as keys and the objects as valuesObtains the wrappedISvgNodeRendererroot renderer.Obtains the list of temporary fontsinthashCode()
-
Field Details
-
namedObjects
-
root
-
context
-
-
Constructor Details
-
SvgProcessorResult
public SvgProcessorResult(Map<String, ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, SvgProcessorContext context) Creates newSvgProcessorResultentity.- Parameters:
namedObjects- a map of named-objects with their id's asStringkeys and theISvgNodeRendererobjects as values.root- a wrappedISvgNodeRendererroot renderer.context- aSvgProcessorContextinstance.
-
-
Method Details
-
getNamedObjects
Description copied from interface:ISvgProcessorResultObtains a map of named-objects with their id's as keys and the objects as values- Specified by:
getNamedObjectsin interfaceISvgProcessorResult- Returns:
- Map of Strings as keys and
ISvgNodeRendereras values
-
getRootRenderer
Description copied from interface:ISvgProcessorResultObtains the wrappedISvgNodeRendererroot renderer.- Specified by:
getRootRendererin interfaceISvgProcessorResult- Returns:
- ISvgNodeRenderer
-
getFontProvider
Description copied from interface:ISvgProcessorResultObtains theFontProvider.- Specified by:
getFontProviderin interfaceISvgProcessorResult- Returns:
- FontProvider
-
getTempFonts
Description copied from interface:ISvgProcessorResultObtains the list of temporary fonts- Specified by:
getTempFontsin interfaceISvgProcessorResult- Returns:
- FontSet
-
getContext
Gets processor context, containingFontProviderandFontSetof temporary fonts inside.- Returns:
SvgProcessorContextinstance
-
equals
-
hashCode
-