| org.apache.xerces.dom.ElementImpl org.apache.html.dom.HTMLElementImpl
All known Subclasses: org.apache.html.dom.HTMLFontElementImpl, org.apache.html.dom.HTMLMetaElementImpl, org.apache.html.dom.HTMLTableCaptionElementImpl, org.apache.html.dom.HTMLLabelElementImpl, org.apache.html.dom.HTMLTableElementImpl, org.apache.html.dom.HTMLFrameElementImpl, org.apache.html.dom.HTMLOptionElementImpl, org.apache.html.dom.HTMLModElementImpl, org.apache.html.dom.HTMLLegendElementImpl, org.apache.html.dom.HTMLStyleElementImpl, org.apache.html.dom.HTMLTableRowElementImpl, org.apache.html.dom.HTMLHeadingElementImpl, org.apache.html.dom.HTMLBaseFontElementImpl, org.apache.html.dom.HTMLTableCellElementImpl, org.apache.html.dom.HTMLIsIndexElementImpl, org.apache.html.dom.HTMLObjectElementImpl, org.apache.html.dom.HTMLImageElementImpl, org.apache.html.dom.HTMLHtmlElementImpl, org.apache.html.dom.HTMLDirectoryElementImpl, org.apache.html.dom.HTMLBodyElementImpl, org.apache.html.dom.HTMLMenuElementImpl, org.apache.html.dom.HTMLMapElementImpl, org.apache.html.dom.HTMLParamElementImpl, org.apache.html.dom.HTMLHRElementImpl, org.apache.html.dom.HTMLPreElementImpl, org.apache.html.dom.HTMLLIElementImpl, org.apache.html.dom.HTMLTitleElementImpl, org.apache.html.dom.HTMLButtonElementImpl, org.apache.html.dom.HTMLOptGroupElementImpl, org.apache.html.dom.HTMLParagraphElementImpl, org.apache.html.dom.HTMLOListElementImpl, org.apache.html.dom.HTMLDListElementImpl, org.apache.html.dom.HTMLTableColElementImpl, org.apache.html.dom.HTMLHeadElementImpl, org.apache.html.dom.HTMLUListElementImpl, org.apache.html.dom.HTMLAreaElementImpl, org.apache.html.dom.HTMLFieldSetElementImpl, org.apache.html.dom.HTMLInputElementImpl, org.apache.html.dom.HTMLBRElementImpl, org.apache.html.dom.HTMLDivElementImpl, org.apache.html.dom.HTMLLinkElementImpl, org.apache.html.dom.HTMLScriptElementImpl, org.apache.html.dom.HTMLFrameSetElementImpl, org.apache.html.dom.HTMLFormElementImpl, org.apache.html.dom.HTMLBaseElementImpl, org.apache.html.dom.HTMLQuoteElementImpl, org.apache.html.dom.HTMLSelectElementImpl, org.apache.html.dom.HTMLIFrameElementImpl, org.apache.html.dom.HTMLAppletElementImpl, org.apache.html.dom.HTMLTextAreaElementImpl, org.apache.html.dom.HTMLTableSectionElementImpl, org.apache.html.dom.HTMLAnchorElementImpl,
HTMLElementImpl | public 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) | | |
Methods inherited from org.apache.xerces.dom.ElementImpl | public Node cloneNode(boolean deep)(Code)(Java Doc) public String getAttribute(String name)(Code)(Java Doc) public String getAttributeNS(String namespaceURI, String localName)(Code)(Java Doc) public Attr getAttributeNode(String name)(Code)(Java Doc) public Attr getAttributeNodeNS(String namespaceURI, String localName)(Code)(Java Doc) public NamedNodeMap getAttributes()(Code)(Java Doc) public String getBaseURI()(Code)(Java Doc) protected NamedNodeMapImpl getDefaultAttributes()(Code)(Java Doc) public NodeList getElementsByTagName(String tagname)(Code)(Java Doc) public NodeList getElementsByTagNameNS(String namespaceURI, String localName)(Code)(Java Doc) public String getNodeName()(Code)(Java Doc) public short getNodeType()(Code)(Java Doc) public TypeInfo getSchemaTypeInfo()(Code)(Java Doc) public String getTagName()(Code)(Java Doc) public String getTypeName()(Code)(Java Doc) public String getTypeNamespace()(Code)(Java Doc) protected int getXercesAttribute(String namespaceURI, String localName)(Code)(Java Doc) public boolean hasAttribute(String name)(Code)(Java Doc) public boolean hasAttributeNS(String namespaceURI, String localName)(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean isDerivedFrom(String typeNamespaceArg, String typeNameArg, int derivationMethod)(Code)(Java Doc) public boolean isEqualNode(Node arg)(Code)(Java Doc) public void normalize()(Code)(Java Doc) protected void reconcileDefaultAttributes()(Code)(Java Doc) public void removeAttribute(String name)(Code)(Java Doc) public void removeAttributeNS(String namespaceURI, String localName)(Code)(Java Doc) public Attr removeAttributeNode(Attr oldAttr) throws DOMException(Code)(Java Doc) public void setAttribute(String name, String value)(Code)(Java Doc) public void setAttributeNS(String namespaceURI, String qualifiedName, String value)(Code)(Java Doc) public Attr setAttributeNode(Attr newAttr) throws DOMException(Code)(Java Doc) public Attr setAttributeNodeNS(Attr newAttr) throws DOMException(Code)(Java Doc) public void setIdAttribute(String name, boolean makeId)(Code)(Java Doc) public void setIdAttributeNS(String namespaceURI, String localName, boolean makeId)(Code)(Java Doc) public void setIdAttributeNode(Attr at, boolean makeId)(Code)(Java Doc) protected void setOwnerDocument(CoreDocumentImpl doc)(Code)(Java Doc) public void setReadOnly(boolean readOnly, boolean deep)(Code)(Java Doc) protected int setXercesAttributeNode(Attr attr)(Code)(Java Doc) protected void setupDefaultAttributes()(Code)(Java Doc) protected void synchronizeData()(Code)(Java Doc)
|
|
|