| org.apache.xerces.dom.ElementImpl org.apache.html.dom.HTMLElementImpl
All known Subclasses: org.apache.html.dom.HTMLImageElementImpl, org.apache.html.dom.HTMLBRElementImpl, org.apache.html.dom.HTMLTableSectionElementImpl, org.apache.html.dom.HTMLModElementImpl, org.apache.html.dom.HTMLFontElementImpl, org.apache.html.dom.HTMLBaseElementImpl, org.apache.html.dom.HTMLHtmlElementImpl, org.apache.html.dom.HTMLMenuElementImpl, org.apache.html.dom.HTMLUListElementImpl, org.apache.html.dom.HTMLLinkElementImpl, org.apache.html.dom.HTMLOptionElementImpl, org.apache.html.dom.HTMLAnchorElementImpl, org.apache.html.dom.HTMLBaseFontElementImpl, org.apache.html.dom.HTMLTableCellElementImpl, org.apache.html.dom.HTMLFrameElementImpl, org.apache.html.dom.HTMLTableColElementImpl, org.apache.html.dom.HTMLBodyElementImpl, org.apache.html.dom.HTMLPreElementImpl, org.apache.html.dom.HTMLScriptElementImpl, org.apache.html.dom.HTMLTextAreaElementImpl, org.apache.html.dom.HTMLAreaElementImpl, org.apache.html.dom.HTMLHRElementImpl, org.apache.html.dom.HTMLParamElementImpl, org.apache.html.dom.HTMLFieldSetElementImpl, org.apache.html.dom.HTMLObjectElementImpl, org.apache.html.dom.HTMLParagraphElementImpl, org.apache.html.dom.HTMLTableRowElementImpl, org.apache.html.dom.HTMLDListElementImpl, org.apache.html.dom.HTMLTableCaptionElementImpl, org.apache.html.dom.HTMLIsIndexElementImpl, org.apache.html.dom.HTMLSelectElementImpl, org.apache.html.dom.HTMLHeadElementImpl, org.apache.html.dom.HTMLTableElementImpl, org.apache.html.dom.HTMLMapElementImpl, org.apache.html.dom.HTMLMetaElementImpl, org.apache.html.dom.HTMLInputElementImpl, org.apache.html.dom.HTMLLabelElementImpl, org.apache.html.dom.HTMLHeadingElementImpl, org.apache.html.dom.HTMLAppletElementImpl, org.apache.html.dom.HTMLStyleElementImpl, org.apache.html.dom.HTMLButtonElementImpl, org.apache.html.dom.HTMLTitleElementImpl, org.apache.html.dom.HTMLLegendElementImpl, org.apache.html.dom.HTMLLIElementImpl, org.apache.html.dom.HTMLFormElementImpl, org.apache.html.dom.HTMLDivElementImpl, org.apache.html.dom.HTMLIFrameElementImpl, org.apache.html.dom.HTMLDirectoryElementImpl, org.apache.html.dom.HTMLFrameSetElementImpl, org.apache.html.dom.HTMLOptGroupElementImpl, org.apache.html.dom.HTMLQuoteElementImpl, org.apache.html.dom.HTMLOListElementImpl,
HTMLElementImpl | HTMLElementImpl(HTMLDocumentImpl owner, String tagName)(Code) | | Constructor required owner document and element tag name. Will be called
by the constructor of specific element types but with a known tag name.
Assures that the owner document is an HTML element.
Parameters: owner - The owner HTML document Parameters: tagName - The element's tag name |
capitalize | String capitalize(String value)(Code) | | Convenience method used to capitalize a one-off attribute value before it
is returned. For example, the align values "LEFT" and "left" will both
return as "Left".
Parameters: value - The value of the attribute The capitalized value |
getBinary | boolean getBinary(String name)(Code) | | Convenience method used to translate an attribute value into a boolean
value. If the attribute has an associated value (even an empty string),
it is set and true is returned. If the attribute does not exist, false
is returend.
Parameters: value - The value of the attribute True or false depending on whether the attribute has been set |
getCapitalized | String getCapitalized(String name)(Code) | | Convenience method used to capitalize a one-off attribute value before it
is returned. For example, the align values "LEFT" and "left" will both
return as "Left".
Parameters: name - The name of the attribute The capitalized value |
getForm | public HTMLFormElement getForm()(Code) | | Convenience method returns the form in which this form element is contained.
This method is exposed for form elements through the DOM API, but other
elements have no access to it through the API.
|
getInteger | int getInteger(String value)(Code) | | Convenience method used to translate an attribute value into an integer
value. Returns the integer value or zero if the attribute is not a
valid numeric string.
Parameters: value - The value of the attribute The integer value, or zero if not a valid numeric string |
setAttribute | void setAttribute(String name, boolean value)(Code) | | Convenience method used to set a boolean attribute. If the value is true,
the attribute is set to an empty string. If the value is false, the attribute
is removed. HTML 4.0 understands empty strings as set attributes.
Parameters: name - The name of the attribute Parameters: value - The value of the attribute |
setClassName | public void setClassName(String className)(Code) | | |
|
|