public class SVGElementCreator extends Object implements IElementCreator<SVGDataProvider>
SVGElementBase
and have the SVGElementMapping applied
Created by Xyanid on 25.10.2015.
| Constructor and Description |
|---|
SVGElementCreator()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
SVGElementBase<?> |
createElement(String name,
Attributes attributes,
ElementBase 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, ElementBase parent, SVGDataProvider dataProvider)
IElementCreator
ElementBase using the given value as an
indicator which instance
to create.
createElement in
interface IElementCreator<SVGDataProvider>name - local value of the element for which the ElementBase is to be created
attributes - attributes which are to be applied to the ElementBaseparent - the parent to be used for the ElementBasedataProvider - the dataProvider to be used for the ElementBaseElementBase
Copyright © 2015 Saxonia Systems AG. All rights reserved.