org.htmlparser.tags
public class AppletTag extends CompositeTag
| Constructor Summary | |
|---|---|
| AppletTag()
Create a new applet tag. | |
| Method Summary | |
|---|---|
| Hashtable | createAppletParamsTable()
Extract the applet PARAM tags from the child list. |
| String | getAppletClass()
Get the class name of the applet. |
| Hashtable | getAppletParams()
Get the applet parameters. |
| String | getArchive()
Get the jar file of the applet. |
| String | getCodeBase()
Get the code base of the applet. |
| 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 | getParameter(String key)
Get the PARAM |
| Enumeration | getParameterNames()
Get an enumeration over the (String) parameter names. |
| void | setAppletClass(String newAppletClass)
Set the CODE |
| void | setAppletParams(Hashtable newAppletParams)
Set the enclosed PARM |
| void | setArchive(String newArchive)
Set the ARCHIVE |
| void | setCodeBase(String newCodeBase)
Set the CODEBASE |
| String | toString()
Output a string representing this applet tag. |
PARAM tags from the child list.Returns: The list of applet parameters (keys and values are String objects).
Returns: The value of the CODE attribute.
Returns: The list of parameter values (keys and values are String objects).
Returns: The value of the ARCHIVE attribute, or null if it wasn't specified.
Returns: The value of the CODEBASE attribute, or null if it wasn't specified.
Returns: The names of following end tags that stop further scanning.
Returns: The names to be matched that create tags of this type.
PARAM tag with the given name.
NOTE: This was called (erroneously) getAttribute() in previous versions.Parameters: key The applet parameter name to get.
Returns: The value of the parameter or null if there is no parameter of that name.
Returns: An enumeration of the PARAM tag NAME attributes.
CODE attribute.Parameters: newAppletClass The new applet class.
PARM children.Parameters: newAppletParams The new parameters.
ARCHIVE attribute.Parameters: newArchive The new archive file.
CODEBASE attribute.Parameters: newCodeBase The new applet code base.
Returns: A string showing the contents of the applet tag.
| HTML Parser is an open source library released under LGPL. | |