|
HTML Parser Home Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.htmlparser.AbstractNode
org.htmlparser.lexer.nodes.TagNode
org.htmlparser.tags.Tag
org.htmlparser.tags.CompositeTag
org.htmlparser.tags.ScriptTag
A script tag.
| Field Summary | |
protected String |
mCode
Script code if different from the page contents. |
| Fields inherited from class org.htmlparser.tags.CompositeTag |
mDefaultScanner, mEndTag |
| Fields inherited from class org.htmlparser.lexer.nodes.TagNode |
breakTags, mAttributes |
| Fields inherited from class org.htmlparser.AbstractNode |
children, mPage, nodeBegin, nodeEnd, parent |
| Constructor Summary | |
ScriptTag()
Create a new script tag. |
|
| Method Summary | |
String[] |
getEndTagEnders()
Return the set of end tag names that cause this tag to finish. |
String[] |
getIds()
Return the set of names handled by this tag. |
String |
getLanguage()
Get the language attribute value. |
String |
getScriptCode()
Get the script code. |
String |
getType()
Get the type attribute value. |
protected void |
putChildrenInto(StringBuffer sb)
|
void |
setLanguage(String language)
Set the language of the script tag. |
void |
setScriptCode(String code)
Set the code contents. |
void |
setType(String type)
Set the type of the script tag. |
String |
toString()
Print the contents of the script tag. |
| Methods inherited from class org.htmlparser.tags.CompositeTag |
accept, childAt, children, collectInto, digupStringNode, elements, findPositionOf, findPositionOf, findPositionOf, getChild, getChildCount, getChildrenAsNodeArray, getChildrenHTML, getEndTag, getStartTag, getStringText, getText, putEndTagInto, removeChild, searchByName, searchFor, searchFor, searchFor, searchFor, setEndTag, setStartTag, toHtml, toPlainTextString, toString |
| Methods inherited from class org.htmlparser.tags.Tag |
accept, clone, getEnders, getThisScanner, setThisScanner |
| Methods inherited from class org.htmlparser.lexer.nodes.TagNode |
breaksFlow, getAttribute, getAttributeEx, getAttributes, getAttributesEx, getEndingLineNumber, getParameter, getParsed, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributesEx, setEmptyXmlTag, setTagBegin, setTagEnd, setTagName, setText |
| Methods inherited from class org.htmlparser.AbstractNode |
doSemanticAction, elementBegin, elementEnd, getChildren, getEndPosition, getPage, getParent, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHTML |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String mCode
| Constructor Detail |
public ScriptTag()
| Method Detail |
public String[] getIds()
getIds in class Tagpublic String[] getEndTagEnders()
getEndTagEnders in class Tagpublic String getLanguage()
public String getScriptCode()
public void setScriptCode(String code)
code - The new code contents of this tag.public String getType()
public void setLanguage(String language)
language - The new language value.public void setType(String type)
type - The new type value.protected void putChildrenInto(StringBuffer sb)
putChildrenInto in class CompositeTagpublic String toString()
toString in interface NodetoString in class CompositeTag
|
© 2004 Somik Raha Mar 14, 2004
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||