|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.verbalizer.DiscoursePlan
public class DiscoursePlan
A Vector of DiscourseCommands
Constructor Summary | |
---|---|
DiscoursePlan()
|
|
DiscoursePlan(DiscourseCommand command)
Constructor with initial command. |
|
DiscoursePlan(DiscourseCommand command,
DiscourseCommand command2)
Constructor with two initial commands. |
|
DiscoursePlan(DiscourseCommand command,
SerializationSymbol relatedSymbol)
Constructor with initial commmand and symbol to link to resulting verbalization. |
|
DiscoursePlan(SerializationSymbol relatedSymbol,
boolean overloader)
Constructor with symbol to link to resulting verbalization. |
Method Summary | |
---|---|
void |
add(DiscourseCommand command)
|
void |
add(DiscourseExecutable executable)
|
void |
add(DiscoursePlan planToAbsorb)
|
void |
clear()
|
void |
clearNonStateCommands()
Clear out all commands except those that set or unset something in VerbalizerState. |
DiscourseCommand |
get(int i)
|
SerializationSymbol |
getRelatedSymbol()
|
void |
insert(DiscourseCommand command,
int position)
|
void |
insert(DiscoursePlan planToAbsorb,
int position)
|
void |
intern()
Intern this DiscoursePlan. |
boolean |
isInterned()
Determine whether this DiscoursePlan is interned. |
DiscoursePlan |
makeCopy()
|
void |
remove(int i)
|
java.lang.StringBuffer |
render()
|
java.lang.StringBuffer |
render(boolean singleLine)
|
void |
replace(DiscourseCommand command,
int position)
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiscoursePlan()
public DiscoursePlan(DiscourseCommand command) throws Scheherexception
Scheherexception
public DiscoursePlan(DiscourseCommand command, DiscourseCommand command2) throws Scheherexception
Scheherexception
public DiscoursePlan(SerializationSymbol relatedSymbol, boolean overloader)
public DiscoursePlan(DiscourseCommand command, SerializationSymbol relatedSymbol) throws Scheherexception
Scheherexception
Method Detail |
---|
public SerializationSymbol getRelatedSymbol()
public DiscoursePlan makeCopy()
public void insert(DiscourseCommand command, int position) throws Scheherexception
Scheherexception
public void replace(DiscourseCommand command, int position) throws Scheherexception
Scheherexception
public void insert(DiscoursePlan planToAbsorb, int position) throws Scheherexception
Scheherexception
public void add(DiscourseCommand command) throws Scheherexception
Scheherexception
public void add(DiscoursePlan planToAbsorb) throws Scheherexception
Scheherexception
public void add(DiscourseExecutable executable) throws Scheherexception
Scheherexception
public DiscourseCommand get(int i) throws Scheherexception
Scheherexception
public int size()
public java.lang.StringBuffer render() throws Scheherexception
render
in interface RenderableObject
render
in interface DiscourseExecutable
Scheherexception
public java.lang.StringBuffer render(boolean singleLine) throws Scheherexception
Scheherexception
public void clear() throws Scheherexception
Scheherexception
public void clearNonStateCommands() throws Scheherexception
Scheherexception
public void remove(int i) throws Scheherexception
Scheherexception
public boolean isInterned()
public void intern()
intern
in interface DiscourseExecutable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |