public class SVGTranslatorContext extends Object
| Constructor and Description |
|---|
SVGTranslatorContext(Document root,
String path,
StyleSheetDefinition cssStyleSheet) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStaticStringMember(String name,
String value) |
void |
addSVGViewRef(ViewRefDefinition viewRef) |
SVGElementTranslator<Element,Object> |
getElementTranslator(String tagName) |
Optional<StyleSheetDefinition> |
getGlobalStyleSheet() |
String |
getPath() |
Document |
getRoot() |
Map<String,String> |
getStaticStringMembers() |
String |
getSVGId() |
String |
getViewId() |
Set<ViewRefDefinition> |
getViewRefDefinitions() |
void |
setElementTranslators(SVGElementTranslator<Element,Object>[] elementTranslators) |
void |
setSVGId(String id) |
void |
setViewId(String viewId) |
public SVGTranslatorContext(Document root, String path, StyleSheetDefinition cssStyleSheet)
public String getViewId()
public void setViewId(String viewId)
public void setSVGId(String id)
public String getSVGId()
public Document getRoot()
public String getPath()
public Optional<StyleSheetDefinition> getGlobalStyleSheet()
public void setElementTranslators(SVGElementTranslator<Element,Object>[] elementTranslators)
public SVGElementTranslator<Element,Object> getElementTranslator(String tagName)
public void addSVGViewRef(ViewRefDefinition viewRef)
public Set<ViewRefDefinition> getViewRefDefinitions()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.