public class PBJTranscoder extends DataTranscoder
baseClassQName, byteArrayNamePostfix, CORE_PACKAGE, data, source, swcSource, UTILS_PACKAGE, workspace
Constructor and Description |
---|
PBJTranscoder(EmbedData data,
Workspace workspace)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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
|
analyze, doTranscode
buildABC, buildBinaryDataTag, checkAttributeValues, equals, getBaseClassName, getBaseClassQName, getDataBytes, getDataStream, getTags, hashCode, setAttribute
protected Map<String,ICharacterTag> doTranscode(Collection<ITag> tags, Collection<ICompilerProblem> problems)
TranscoderBase
doTranscode
in class DataTranscoder
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.Copyright © 2016 The Apache Software Foundation. All rights reserved.