public class SVGUseTranslator extends Object implements SVGElementTranslator<Element,ViewRefDefinition>
| Modifier and Type | Field and Description |
|---|---|
static String |
HREF |
static String |
TAG_NAME |
| Constructor and Description |
|---|
SVGUseTranslator() |
| Modifier and Type | Method and Description |
|---|---|
Class<Element> |
getInputType() |
String |
getTagName()
The name for the tag that this translator is able to process.
|
ViewRefDefinition |
translate(Element element,
SVGTranslatorContext context)
Process the given input and generates the SVG view definition instance for it.
|
public static final String HREF
public static final String TAG_NAME
public String getTagName()
SVGElementTranslatorgetTagName in interface SVGElementTranslator<Element,ViewRefDefinition>public ViewRefDefinition translate(Element element, SVGTranslatorContext context) throws TranslatorException
SVGElementTranslatortranslate in interface SVGElementTranslator<Element,ViewRefDefinition>element - The source element.context - The translator context.TranslatorExceptionpublic Class<Element> getInputType()
getInputType in interface Translator<Element>Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.