public interface IFXGTranscoder
Modifier and Type | Method and Description |
---|---|
ITypeDefinition[] |
getDependencies()
Returns a list of types the FXG processed by this transcoder depends
on.
|
void |
setResourceResolver(IFXGResourceResolver resolver)
Establishes the ResourceResolver implementation used to locate and load
resources such as embedded images for BitmapGraphic nodes.
|
FXGSymbolClass |
transcode(IFXGNode node,
String packageName,
String className,
Map<ITag,ITag> extraTags,
Collection<ICompilerProblem> problems)
Traverses an FXG DOM to generate a SWF graphics primitives, with the root
DefineSpriteTag associated with a generated ActionScript symbol class if
any.
|
void setResourceResolver(IFXGResourceResolver resolver)
resolver
- fxg resource resolverFXGSymbolClass transcode(IFXGNode node, String packageName, String className, Map<ITag,ITag> extraTags, Collection<ICompilerProblem> problems)
node
- the root node of an FXG DOM.packageName
- the package name of the generated symbol class.className
- the class name of the generated symbol class.extraTags
- any extra tags that are associated with tags in this FXG.
The unit calling transcoder should add these to the frame after their keys are added.problems
- problem collection used to collect problems occurred within this methodITypeDefinition[] getDependencies()
Copyright © 2016 The Apache Software Foundation. All rights reserved.