public abstract class DnDScript extends Object implements ScriptWithDependencies
Modifier and Type | Method and Description |
---|---|
void |
appendScript(Appendable target)
Append JavaScript code to @link
Appendable |
void |
appendScriptToStringBuilder(StringBuilder stringBuilder)
Append JavaScript code to @link
StringBuilder |
boolean |
equals(Object obj) |
Set<ResourceKey> |
getBaseResources() |
int |
hashCode() |
String |
toScript()
Return object content as JavaScript String.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getResources
public DnDScript(String name)
public Set<ResourceKey> getBaseResources()
public void appendScriptToStringBuilder(StringBuilder stringBuilder)
ScriptString
StringBuilder
appendScriptToStringBuilder
in interface ScriptString
public String toScript()
ScriptString
toScript
in interface ScriptString
public void appendScript(Appendable target) throws IOException
ScriptString
Appendable
appendScript
in interface ScriptString
IOException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.