Interface SVGDocumentTranslator
-
- All Superinterfaces:
Translator<Document>
- All Known Implementing Classes:
SVGDocumentTranslatorImpl
public interface SVGDocumentTranslator extends Translator<Document>
Translates a given SVG document into an SVGViewDefinition instance
-
-
Field Summary
Fields Modifier and Type Field Description static StringSTUNNER_ATTR_NS_LAYOUTstatic StringSTUNNER_ATTR_NS_SHAPEstatic StringSTUNNER_ATTR_NS_STATEstatic StringSTUNNER_ATTR_NS_TRANSFORMstatic StringSTUNNER_ATTR_SHAPE_EXCLUDEstatic StringSTUNNER_ATTR_TRANSFORM_NON_SCALABLEstatic StringSTUNNER_ATTR_TRANSFORM_SCALABLEstatic StringSTUNNER_URIstatic StringXLINK_URI
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ViewDefinition<org.kie.workbench.common.stunner.svg.client.shape.view.SVGShapeView>translate(SVGTranslatorContext context)-
Methods inherited from interface org.kie.workbench.common.stunner.svg.gen.translator.Translator
getInputType
-
-
-
-
Field Detail
-
XLINK_URI
static final String XLINK_URI
- See Also:
- Constant Field Values
-
STUNNER_URI
static final String STUNNER_URI
- See Also:
- Constant Field Values
-
STUNNER_ATTR_NS_LAYOUT
static final String STUNNER_ATTR_NS_LAYOUT
- See Also:
- Constant Field Values
-
STUNNER_ATTR_NS_STATE
static final String STUNNER_ATTR_NS_STATE
- See Also:
- Constant Field Values
-
STUNNER_ATTR_NS_SHAPE
static final String STUNNER_ATTR_NS_SHAPE
- See Also:
- Constant Field Values
-
STUNNER_ATTR_SHAPE_EXCLUDE
static final String STUNNER_ATTR_SHAPE_EXCLUDE
- See Also:
- Constant Field Values
-
STUNNER_ATTR_NS_TRANSFORM
static final String STUNNER_ATTR_NS_TRANSFORM
- See Also:
- Constant Field Values
-
STUNNER_ATTR_TRANSFORM_NON_SCALABLE
static final String STUNNER_ATTR_TRANSFORM_NON_SCALABLE
- See Also:
- Constant Field Values
-
STUNNER_ATTR_TRANSFORM_SCALABLE
static final String STUNNER_ATTR_TRANSFORM_SCALABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
translate
ViewDefinition<org.kie.workbench.common.stunner.svg.client.shape.view.SVGShapeView> translate(SVGTranslatorContext context) throws TranslatorException
- Throws:
TranslatorException
-
-