public class AppletTag extends CompositeTag
构造器和说明 |
---|
AppletTag()
Create a new applet tag.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Hashtable |
createAppletParamsTable()
Extract the applet
PARAM tags from the child list. |
java.lang.String |
getAppletClass()
Get the class name of the applet.
|
java.util.Hashtable |
getAppletParams()
Get the applet parameters.
|
java.lang.String |
getArchive()
Get the jar file of the applet.
|
java.lang.String |
getCodeBase()
Get the code base of the applet.
|
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 |
getParameter(java.lang.String key)
Get the PARAM tag with the given name.
|
java.util.Enumeration |
getParameterNames()
Get an enumeration over the (String) parameter names.
|
void |
setAppletClass(java.lang.String newAppletClass)
Set the CODE attribute.
|
void |
setAppletParams(java.util.Hashtable newAppletParams)
Set the enclosed PARM children.
|
void |
setArchive(java.lang.String newArchive)
Set the ARCHIVE attribute.
|
void |
setCodeBase(java.lang.String newCodeBase)
Set the CODEBASE attribute.
|
java.lang.String |
toString()
Output a string representing this applet tag.
|
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, toString
breaksFlow, getAttribute, getAttributeEx, getAttributesEx, getEnders, getEndingLineNumber, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, getThisScanner, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributeEx, setAttributesEx, setEmptyXmlTag, setTagBegin, setTagEnd, setTagName, setText, setThisScanner
clone, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtml
clone, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtml
public java.lang.String[] getIds()
public java.lang.String[] getEndTagEnders()
getEndTagEnders
在接口中 Tag
getEndTagEnders
在类中 TagNode
public java.util.Hashtable createAppletParamsTable()
PARAM
tags from the child list.public java.lang.String getAppletClass()
CODE
attribute.public java.util.Hashtable getAppletParams()
public java.lang.String getArchive()
ARCHIVE
attribute, or null
if it wasn't specified.public java.lang.String getCodeBase()
CODEBASE
attribute, or null
if it wasn't specified.public java.lang.String getParameter(java.lang.String key)
key
- The applet parameter name to get.public java.util.Enumeration getParameterNames()
public void setAppletClass(java.lang.String newAppletClass)
newAppletClass
- The new applet class.public void setAppletParams(java.util.Hashtable newAppletParams)
newAppletParams
- The new parameters.public void setArchive(java.lang.String newArchive)
newArchive
- The new archive file.public void setCodeBase(java.lang.String newCodeBase)
newCodeBase
- The new applet code base.public java.lang.String toString()
toString
在接口中 Node
toString
在类中 CompositeTag