public class MovieTranscoder extends ScalableTranscoder
scaleGridBottom, scaleGridLeft, scaleGridRight, scaleGridTop, scaling
baseClassQName, byteArrayNamePostfix, CORE_PACKAGE, data, source, swcSource, UTILS_PACKAGE, workspace
Constructor and Description |
---|
MovieTranscoder(EmbedData data,
Workspace workspace)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
analyze(ISourceLocation location,
Collection<ICompilerProblem> problems)
Analyze the attributes
|
FileNode |
buildAST(Collection<ICompilerProblem> problems,
String filename)
Build an AST to represent the embedded asset class
|
protected Map<String,ICharacterTag> |
doTranscode(Collection<ITag> tags,
Collection<ICompilerProblem> problems)
Transcode the embedded asset
|
boolean |
equals(Object o) |
FlexFontInfo |
getFlexFontInfo()
Get the font info if the SWF being embedded is a font, or null if not
a font.
|
String |
getSymbol()
Get the symbol name of the embedded SWF, or null if the entire SWF is
being embedded.
|
int |
hashCode() |
protected boolean |
setAttribute(EmbedAttribute attribute)
Stores the supported attribute of the transcoder
|
buildScalingGrid, buildSprite, checkAttributeValues
buildABC, buildBinaryDataTag, getBaseClassName, getBaseClassQName, getDataBytes, getDataStream, getTags
public boolean analyze(ISourceLocation location, Collection<ICompilerProblem> problems)
TranscoderBase
analyze
in class TranscoderBase
location
- Source location from where the embed came fromproblems
- Any problems discovered in the EmbedNodeprotected boolean setAttribute(EmbedAttribute attribute)
TranscoderBase
setAttribute
in class ScalableTranscoder
protected Map<String,ICharacterTag> doTranscode(Collection<ITag> tags, Collection<ICompilerProblem> problems)
TranscoderBase
doTranscode
in class TranscoderBase
tags
- The collection of transcoded asset tagsproblems
- The collection of compiler problems to which this method will add problems.public FileNode buildAST(Collection<ICompilerProblem> problems, String filename)
TranscoderBase
buildAST
in class TranscoderBase
problems
- The collection of compiler problems to which this method will add problems.filename
- The path to the file being embedded.public String getSymbol()
public FlexFontInfo getFlexFontInfo()
public boolean equals(Object o)
equals
in class ScalableTranscoder
public int hashCode()
hashCode
in class ScalableTranscoder
Copyright © 2016 The Apache Software Foundation. All rights reserved.