public class AppletTag extends CompositeTag
mDefaultCompositeScanner, mEndTag
breakTags, mAttributes, mDefaultScanner
Constructor and Description |
---|
AppletTag()
Create a new applet tag.
|
Modifier and Type | Method and 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.
|
accept, 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, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
in interface Tag
getEndTagEnders
in class 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)
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 Node
toString
in class CompositeTag
HTML Parser is an open source library released under LGPL.