|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.verbalizer.Serialization
public class Serialization
Constructor Summary | |
---|---|
Serialization()
|
|
Serialization(java.lang.String surfaceText)
|
|
Serialization(java.lang.String surfaceText,
SerializationSymbol relatedSymbol)
|
Method Summary | |
---|---|
void |
addSymbolInterval(SymbolInterval interval)
Manually specify a symbol interval for a portion of the text. |
void |
append(Serialization serialization)
|
void |
append(java.lang.String s)
|
java.lang.String |
capitalize()
|
void |
clearSymbolIntervals()
Clear all symbol intervals. |
int |
getIntervalEnd(int position)
Get the end of the nearest symbol interval in which a given character in the serialization falls. |
SymbolInterval |
getIntervalOfSymbol(SerializationSymbol relatedSymbol)
Retrieve the interval for a given symbol, if the symbol has an interval associated with it. |
int |
getIntervalStart(int position)
Get the beginning of the nearest symbol interval in which a given character in the serialization falls. |
SerializationSymbol |
getRelatedSymbol(int position)
Retrieve the object that a given character in the serialization points to. |
java.util.Vector |
getSymbolIntervals()
Get an edit-safe copy of the symbol intervals used in the Serialization. |
boolean |
hasRelatedSymbol(int position)
|
int |
length()
|
java.lang.StringBuffer |
renderSymbolIntervals()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Serialization()
public Serialization(java.lang.String surfaceText)
public Serialization(java.lang.String surfaceText, SerializationSymbol relatedSymbol)
Method Detail |
---|
public void append(java.lang.String s)
public void clearSymbolIntervals() throws Scheherexception
Scheherexception
public void addSymbolInterval(SymbolInterval interval) throws Scheherexception
Scheherexception
public void append(Serialization serialization)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String capitalize()
public int length()
public java.util.Vector getSymbolIntervals()
public java.lang.StringBuffer renderSymbolIntervals() throws Scheherexception
Scheherexception
public SymbolInterval getIntervalOfSymbol(SerializationSymbol relatedSymbol) throws Scheherexception
Scheherexception
public SerializationSymbol getRelatedSymbol(int position) throws Scheherexception
Scheherexception
public int getIntervalStart(int position) throws Scheherexception
Scheherexception
public boolean hasRelatedSymbol(int position) throws Scheherexception
Scheherexception
public int getIntervalEnd(int position) throws Scheherexception
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |