public class AppletTag extends CompositeTag
children, mPage, nodeBegin, nodeEnd, parentmDefaultCompositeScanner, mEndTagbreakTags, mAttributes, mDefaultScanner| Constructor | Description |
|---|---|
AppletTag() |
Create a new applet tag.
|
| Modifier and Type | Method | Description |
|---|---|---|
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 |
java.util.Enumeration |
getParameterNames() |
Get an enumeration over the (String) parameter names.
|
void |
setAppletClass(java.lang.String newAppletClass) |
Set the
CODE |
void |
setAppletParams(java.util.Hashtable newAppletParams) |
Set the enclosed
PARM |
void |
setArchive(java.lang.String newArchive) |
Set the
ARCHIVE |
void |
setCodeBase(java.lang.String newCodeBase) |
Set the
CODEBASE |
java.lang.String |
toString() |
Output a string representing this applet tag.
|
clone, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtmlaccept, childAt, children, collectInto, digupStringNode, elements, findPositionOf, findPositionOf, findPositionOf, getChild, getChildCount, getChildrenAsNodeArray, getChildrenHTML, getEndTag, getStringText, getText, putChildrenInto, putEndTagInto, removeChild, searchByName, searchFor, searchFor, searchFor, searchFor, setEndTag, toHtml, toPlainTextString, toStringclone, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtmlequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbreaksFlow, getAttribute, getAttributeEx, getAttributesEx, getEnders, getEndingLineNumber, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, getThisScanner, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributeEx, setAttributesEx, setEmptyXmlTag, setTagBegin, setTagEnd, setTagName, setText, setThisScannerpublic java.lang.String[] getIds()
public java.lang.String[] getEndTagEnders()
getEndTagEnders in interface TaggetEndTagEnders in class TagNodepublic 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)
PARAM tag with the given name.
NOTE: This was called (erroneously) getAttribute() in previous versions.key - The applet parameter name to get.null if there is no parameter of that name.public java.util.Enumeration getParameterNames()
PARAM tag NAME attributes.public void setAppletClass(java.lang.String newAppletClass)
CODE attribute.newAppletClass - The new applet class.public void setAppletParams(java.util.Hashtable newAppletParams)
PARM children.newAppletParams - The new parameters.public void setArchive(java.lang.String newArchive)
ARCHIVE attribute.newArchive - The new archive file.public void setCodeBase(java.lang.String newCodeBase)
CODEBASE attribute.newCodeBase - The new applet code base.public java.lang.String toString()
toString in interface NodetoString in class CompositeTagHTML Parser is an open source library released under LGPL.