|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.erowid.sperowider.htmlshredding.HTMLTag org.erowid.sperowider.htmlshredding.HTMLMetaTag
Represents a MetaTag in an HTML doc. Every meta tag has a name and a chunk of text as its "contents".
Constructor Summary | |
HTMLMetaTag(HTMLTag tag)
Initialized with a more generic tag |
|
HTMLMetaTag(String name,
String content)
Initialized only with the name and content text, and not the <, >, etc. |
Method Summary | |
String |
getContent()
Returns the content attribute |
String |
getName()
Returns the name attribute |
void |
setContent(String content)
Sets the content attribute |
void |
setLeadChar(char value)
Meta tags are self terminating, so this does nothing. |
void |
setName(String name)
Sets the name attribute |
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 HTMLMetaTag(String name, String content)
public HTMLMetaTag(HTMLTag tag)
Method Detail |
public void setLeadChar(char value)
setLeadChar
in class HTMLTag
public String getContent()
public void setContent(String content)
public String getName()
public void setName(String name)
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |