public class EmbedData extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmbedData.SkinClassInfo |
Constructor and Description |
---|
EmbedData(String containingSourceFilename,
String specifiedQName) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAttribute(CompilerProject project,
ISourceLocation location,
String key,
String value,
Collection<ICompilerProblem> problems)
Add an attribute
|
boolean |
createTranscoder(CompilerProject project,
ISourceLocation location,
Collection<ICompilerProblem> problems) |
boolean |
equals(Object o) |
boolean |
generatedClassExtendsAnother()
Check if the generated class extends another
|
Object |
getAttribute(EmbedAttribute attribute)
Returns the value of an attribute.
|
EmbedAttribute[] |
getAttributes() |
String |
getQName()
Returns the qname of the class generated from the EmbedData.
|
ISWCFileEntry |
getSWCSource() |
TranscoderBase |
getTranscoder()
Get the transcoder used by this embed.
|
int |
hashCode() |
public boolean addAttribute(CompilerProject project, ISourceLocation location, String key, String value, Collection<ICompilerProblem> problems)
project
- containing projectlocation
- source location of the attributekey
- attribute keyvalue
- attribute valueproblems
- any problems with the key or valuepublic Object getAttribute(EmbedAttribute attribute)
attribute
- An embed attribute.public EmbedAttribute[] getAttributes()
public boolean createTranscoder(CompilerProject project, ISourceLocation location, Collection<ICompilerProblem> problems)
project
- The compiler project.location
- The source location.problems
- The colleciton of compiler projects to which this method should add problems.public String getQName()
public boolean generatedClassExtendsAnother()
public final TranscoderBase getTranscoder()
public final ISWCFileEntry getSWCSource()
Copyright © 2016 The Apache Software Foundation. All rights reserved.