public class ScriptTag extends CompositeTag
| 构造器和说明 |
|---|
ScriptTag()
Create a new script tag.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String[] |
getEndTagEnders()
Return the set of end tag names that cause this tag to finish.
|
java.lang.String[] |
getIds()
Return the set of names handled by this tag.
|
java.lang.String |
getLanguage()
Get the
LANGUAGE attribute, if any. |
java.lang.String |
getScriptCode()
Get the script code.
|
java.lang.String |
getType()
Get the
TYPE attribute, if any. |
void |
setLanguage(java.lang.String language)
Set the language of the script tag.
|
void |
setScriptCode(java.lang.String code)
Set the code contents.
|
void |
setType(java.lang.String type)
Set the mime type of the script tag.
|
java.lang.String |
toString()
Print the contents of the script tag suitable for debugging display.
|
accept, childAt, children, collectInto, digupStringNode, elements, findPositionOf, findPositionOf, findPositionOf, getChild, getChildCount, getChildrenAsNodeArray, getChildrenHTML, getEndTag, getStringText, getText, removeChild, searchByName, searchFor, searchFor, searchFor, searchFor, setEndTag, toHtml, toPlainTextString, toStringbreaksFlow, getAttribute, getAttributeEx, getAttributesEx, getEnders, getEndingLineNumber, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, getThisScanner, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributeEx, setAttributesEx, setEmptyXmlTag, setTagBegin, setTagEnd, setTagName, setText, setThisScannerclone, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtmlclone, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtmlpublic java.lang.String[] getIds()
public java.lang.String[] getEndTagEnders()
getEndTagEnders 在接口中 TaggetEndTagEnders 在类中 TagNodepublic java.lang.String getLanguage()
LANGUAGE attribute, if any.public java.lang.String getScriptCode()
public void setScriptCode(java.lang.String code)
code - The new code contents of this tag.public java.lang.String getType()
TYPE attribute, if any.public void setLanguage(java.lang.String language)
language - The new language value.public void setType(java.lang.String type)
type - The new mime type.public java.lang.String toString()
toString 在接口中 NodetoString 在类中 CompositeTag