public class SVGElementFactory extends Object implements IElementFactory<SVGDocumentDataProvider,SVGElementBase<?>>
| Constructor and Description |
|---|
SVGElementFactory(CommandParser commandParser) |
| Modifier and Type | Method and Description |
|---|---|
SVGElementBase<?> |
createElement(String name,
Attributes attributes,
SVGDocumentDataProvider dataProvider)
creates a new instance of the desired
ElementBase using the given value as an indicator which instance
to create. |
public SVGElementFactory(CommandParser commandParser)
public SVGElementBase<?> createElement(String name, Attributes attributes, SVGDocumentDataProvider dataProvider)
IElementFactoryElementBase using the given value as an indicator which instance
to create.createElement in interface IElementFactory<SVGDocumentDataProvider,SVGElementBase<?>>name - local value of the element for which the ElementBase is to be createdattributes - attributes which are to be applied to the ElementBasedataProvider - the dataProvider to be used for the ElementBaseElementBaseCopyright © 2017 Saxonia Systems AG. All rights reserved.