public class ObjectTag extends CompositeTag
mDefaultCompositeScanner, mEndTag
breakTags, mAttributes, mDefaultScanner
Constructor and Description |
---|
ObjectTag()
Create a new object tag.
|
Modifier and Type | Method and Description |
---|---|
java.util.Hashtable |
createObjectParamsTable()
Extract the object
PARAM tags from the child list. |
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 |
getObjectClassId()
Get the classid of the object.
|
java.lang.String |
getObjectCodeBase()
Get the codebase of the object.
|
java.lang.String |
getObjectCodeType()
Get the codetype of the object.
|
java.lang.String |
getObjectData()
Get the data of the object.
|
java.lang.String |
getObjectHeight()
Get the height of the object.
|
java.util.Hashtable |
getObjectParams()
Get the object parameters.
|
java.lang.String |
getObjectStandby()
Get the standby of the object.
|
java.lang.String |
getObjectType()
Get the type of the object.
|
java.lang.String |
getObjectWidth()
Get the width of the object.
|
java.lang.String |
getParameter(java.lang.String key)
Get the
PARAM |
java.util.Enumeration |
getParameterNames()
Get an enumeration over the (String) parameter names.
|
void |
setObjectClassId(java.lang.String newClassId)
Set the
CLASSID |
void |
setObjectCodeBase(java.lang.String newCodeBase)
Set the
CODEBASE |
void |
setObjectCodeType(java.lang.String newCodeType)
Set the
CODETYPE |
void |
setObjectData(java.lang.String newData)
Set the
DATA |
void |
setObjectHeight(java.lang.String newHeight)
Set the
HEIGHT |
void |
setObjectParams(java.util.Hashtable newObjectParams)
Set the enclosed
PARAM |
void |
setObjectStandby(java.lang.String newStandby)
Set the
STANDBY |
void |
setObjectType(java.lang.String newType)
Set the
TYPE |
void |
setObjectWidth(java.lang.String newWidth)
Set the
WIDTH |
java.lang.String |
toString()
Output a string representing this object 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 createObjectParamsTable()
PARAM
tags from the child list.public java.lang.String getObjectClassId()
CLASSID
attribute.public java.lang.String getObjectCodeBase()
CODEBASE
attribute.public java.lang.String getObjectCodeType()
CODETYPE
attribute.public java.lang.String getObjectData()
DATA
attribute.public java.lang.String getObjectHeight()
HEIGHT
attribute.public java.lang.String getObjectStandby()
STANDBY
attribute.public java.lang.String getObjectType()
TYPE
attribute.public java.lang.String getObjectWidth()
WIDTH
attribute.public java.util.Hashtable getObjectParams()
public java.lang.String getParameter(java.lang.String key)
PARAM tag with the given name.
key
- The object parameter name to get.null
if there is no parameter of that name.public java.util.Enumeration getParameterNames()
PARAM tag NAME attributes.
public void setObjectClassId(java.lang.String newClassId)
CLASSID attribute.
newClassId
- The new classid.public void setObjectCodeBase(java.lang.String newCodeBase)
CODEBASE attribute.
newCodeBase
- The new codebase.public void setObjectCodeType(java.lang.String newCodeType)
CODETYPE attribute.
newCodeType
- The new codetype.public void setObjectData(java.lang.String newData)
DATA attribute.
newData
- The new data.public void setObjectHeight(java.lang.String newHeight)
HEIGHT attribute.
newHeight
- The new height.public void setObjectStandby(java.lang.String newStandby)
STANDBY attribute.
newStandby
- The new standby.public void setObjectType(java.lang.String newType)
TYPE attribute.
newType
- The new type.public void setObjectWidth(java.lang.String newWidth)
WIDTH attribute.
newWidth
- The new width.public void setObjectParams(java.util.Hashtable newObjectParams)
PARAM children.
newObjectParams
- The new parameters.public java.lang.String toString()
toString
in interface Node
toString
in class CompositeTag
HTML Parser is an open source library released under LGPL.