public class SVGElementCreator extends Object implements IElementCreator<SVGDataProvider,SVGElementBase<?>>
SVGElementBase and have the SVGElementMapping applied| Constructor and Description |
|---|
SVGElementCreator()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
SVGElementBase<?> |
createElement(String name,
Attributes attributes,
SVGElementBase<?> parent,
SVGDataProvider dataProvider)
creates a new instance of the desired
ElementBase using the given value as an indicator which instance
to create. |
Map<String,Constructor<? extends SVGElementBase<?>>> |
getKnownClasses()
Returns the
knownClasses. |
public Map<String,Constructor<? extends SVGElementBase<?>>> getKnownClasses()
knownClasses.knownClassespublic SVGElementBase<?> createElement(String name, Attributes attributes, SVGElementBase<?> parent, SVGDataProvider dataProvider)
IElementCreatorElementBase using the given value as an indicator which instance
to create.createElement in interface IElementCreator<SVGDataProvider,SVGElementBase<?>>name - local value of the element for which the ElementBase is to be createdattributes - attributes which are to be applied to the ElementBaseparent - the parent to be used for the ElementBasedataProvider - the dataProvider to be used for the ElementBaseElementBaseCopyright © 2016 Saxonia Systems AG. All rights reserved.