Class SVGGroupTranslator
- java.lang.Object
-
- org.kie.workbench.common.stunner.svg.gen.translator.impl.AbstractSVGPrimitiveTranslator<Element,GroupDefinition>
-
- org.kie.workbench.common.stunner.svg.gen.translator.impl.SVGGroupTranslator
-
- All Implemented Interfaces:
SVGElementTranslator<Element,GroupDefinition>,Translator<Element>
public class SVGGroupTranslator extends AbstractSVGPrimitiveTranslator<Element,GroupDefinition> implements SVGElementTranslator<Element,GroupDefinition>
-
-
Field Summary
-
Fields inherited from class org.kie.workbench.common.stunner.svg.gen.translator.impl.AbstractSVGPrimitiveTranslator
ID, X, Y
-
-
Constructor Summary
Constructors Constructor Description SVGGroupTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GroupDefinitiondoTranslate(Element element, SVGTranslatorContext context)Class<Element>getInputType()StringgetTagName()The name for the tag that this translator is able to process.-
Methods inherited from class org.kie.workbench.common.stunner.svg.gen.translator.impl.AbstractSVGPrimitiveTranslator
failIfEmpty, getId, getXAttributeName, getYAttributeName, isEmpty, translate, translateLayout, translatePosition, translatePrimitiveDefinition, translatePrimitiveExcluded, translateStyles, translateTransformDefinition, translateTransforms
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.workbench.common.stunner.svg.gen.translator.SVGElementTranslator
translate
-
-
-
-
Method Detail
-
getTagName
public String getTagName()
Description copied from interface:SVGElementTranslatorThe name for the tag that this translator is able to process.- Specified by:
getTagNamein interfaceSVGElementTranslator<Element,GroupDefinition>
-
doTranslate
protected GroupDefinition doTranslate(Element element, SVGTranslatorContext context) throws TranslatorException
- Specified by:
doTranslatein classAbstractSVGPrimitiveTranslator<Element,GroupDefinition>- Throws:
TranslatorException
-
getInputType
public Class<Element> getInputType()
- Specified by:
getInputTypein interfaceTranslator<Element>
-
-