public class XMLTranscoder extends TranscoderBase
baseClassQName, byteArrayNamePostfix, CORE_PACKAGE, data, source, swcSource, UTILS_PACKAGE, workspace| Constructor and Description |
|---|
XMLTranscoder(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) |
int |
hashCode() |
protected boolean |
setAttribute(EmbedAttribute attribute)
Stores the supported attribute of the transcoder
|
buildABC, buildBinaryDataTag, checkAttributeValues, getBaseClassName, getBaseClassQName, getDataBytes, getDataStream, getTagspublic boolean analyze(ISourceLocation location, Collection<ICompilerProblem> problems)
TranscoderBaseanalyze in class TranscoderBaselocation - Source location from where the embed came fromproblems - Any problems discovered in the EmbedNodeprotected boolean setAttribute(EmbedAttribute attribute)
TranscoderBasesetAttribute in class TranscoderBaseprotected Map<String,ICharacterTag> doTranscode(Collection<ITag> tags, Collection<ICompilerProblem> problems)
TranscoderBasedoTranscode in class TranscoderBasetags - 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)
TranscoderBasebuildAST in class TranscoderBaseproblems - The collection of compiler problems to which this method will add problems.filename - The path to the file being embedded.public boolean equals(Object o)
equals in class TranscoderBasepublic int hashCode()
hashCode in class TranscoderBaseCopyright © 2016 The Apache Software Foundation. All rights reserved.