|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.erowid.sperowider.htmlshredding.HTMLTag
org.erowid.sperowider.htmlshredding.HTMLMetaTag
org.erowid.sperowider.htmlshredding.HTMLKeywordTag
Represents an HTML meta tag that provides keywords for the document.
| Constructor Summary | |
HTMLKeywordTag(HTMLTag tag)
Initialized with a more generic tag |
|
HTMLKeywordTag(String keywordList)
Initiated with the contents of the content attribute, *NOT* the full tag. |
|
| Method Summary | |
void |
addKeyword(String keyword)
Adds a new keyword |
void |
addKeywordList(String keywordList)
Adds more keywords |
Iterator |
getKeywordList()
Gets all the keywords |
void |
removeKeyword(String keyword)
Removes a keyword |
void |
setContent(String content)
Sets the content attribute, which is a list of keywords in this case. |
void |
setName(String name)
Does nothing; the name is "keywords" |
| Methods inherited from class org.erowid.sperowider.htmlshredding.HTMLMetaTag |
getContent, getName, setLeadChar |
| Methods inherited from class org.erowid.sperowider.htmlshredding.HTMLTag |
addAttributesFromTag, addHTMLTagAttribute, getFollowChar, getHTMLTagAttribute, getHTMLTagAttributes, getLeadChar, getTagName, setFollowChar, setTagName, toString, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HTMLKeywordTag(String keywordList)
public HTMLKeywordTag(HTMLTag tag)
| Method Detail |
public void setContent(String content)
setContent in class HTMLMetaTagpublic void setName(String name)
setName in class HTMLMetaTagpublic void addKeyword(String keyword)
public void removeKeyword(String keyword)
public void addKeywordList(String keywordList)
public Iterator getKeywordList()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||