|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
de.fh_mannheim.mm.dms.framework.StopwordList
This class gives a representation of the stopwords of a specific user.
| Constructor Summary | |
StopwordList()
Constructor. |
|
StopwordList(java.util.ArrayList aList)
Constructor. |
|
StopwordList(int nSize)
Constructor. |
|
| Method Summary | |
void |
addStopword(Stopword stopword)
Add a stopword to list. |
void |
addStopwordList(java.util.ArrayList aList)
Add a stopword to list. |
boolean |
containsStopword(java.lang.String strStopword)
Searches a given stopword in list. |
void |
deleteStopword(java.lang.String strStopword)
Delete a stopword from list. |
Stopword |
getStopword(int nIndex)
Get stopword from list. |
Stopword |
getStopword(java.lang.String strStopword)
Searches a given stopword in list and returns it. |
org.w3c.dom.Element |
toElement(org.w3c.dom.Document doc)
Write information of category in a xml element. |
org.w3c.dom.Element |
toElement(org.w3c.dom.Element element,
org.w3c.dom.Document doc)
Write information of category in a xml element. |
java.lang.String |
toString()
Write information of category in a string. |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
| Constructor Detail |
public StopwordList()
public StopwordList(int nSize)
nSize - Size of arraypublic StopwordList(java.util.ArrayList aList)
aList - Pre-selected list| Method Detail |
public void addStopword(Stopword stopword)
stopword - Stopwordpublic void addStopwordList(java.util.ArrayList aList)
aList - List with stopwordspublic boolean containsStopword(java.lang.String strStopword)
strStopword - Stopword
public Stopword getStopword(java.lang.String strStopword)
strStopword - Stopword
public Stopword getStopword(int nIndex)
nIndex - Index of list
public void deleteStopword(java.lang.String strStopword)
strStopword - Stopwordpublic org.w3c.dom.Element toElement(org.w3c.dom.Document doc)
toElement in interface IElementdoc - XML Document
public org.w3c.dom.Element toElement(org.w3c.dom.Element element,
org.w3c.dom.Document doc)
toElement in interface IElementelement - Root elementdoc - XML Document
public java.lang.String toString()
toString in interface IElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||