|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gmail.thejcwk.semantics.PhraseCollection
public class PhraseCollection
This class encapsulates management of a collection of phrases that should be rendered.
| Constructor Summary | |
|---|---|
PhraseCollection(java.io.File f)
Constructs a new PhraseCollection from the specified file. |
|
| Method Summary | |
|---|---|
void |
applyFilter(Filter filter)
Applies a filter to this PhraseCollection. |
java.util.ArrayList<Filter> |
getFilters()
Returns all the filters that have been applied to this collection. |
java.util.ArrayList<java.lang.String> |
getPhoneticRepresentations()
Return an ArrayList containing all the phonetic representations in the collection. |
java.util.ArrayList<Phrase> |
getPhrases()
Return an ArrayList containing all the phrases in the collection. |
java.util.ArrayList<java.lang.String> |
getSemanticFunctions()
Return an ArrayList containing all the semantic functions in the collection. |
java.util.ArrayList<java.lang.String> |
getSyntacticFunctions()
Return an ArrayList containing all the syntactic functions in the collection. |
void |
resetFilters()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PhraseCollection(java.io.File f)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
f - The file from which to get Phrases.
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException| Method Detail |
|---|
public void applyFilter(Filter filter)
filter - public java.util.ArrayList<Filter> getFilters()
public void resetFilters()
public java.util.ArrayList<java.lang.String> getPhoneticRepresentations()
public java.util.ArrayList<Phrase> getPhrases()
public java.util.ArrayList<java.lang.String> getSemanticFunctions()
public java.util.ArrayList<java.lang.String> getSyntacticFunctions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||