|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.apache.xerces.dom.NodeImpl
weblogic.apache.xerces.dom.ChildNode
weblogic.apache.xerces.dom.ParentNode
weblogic.apache.xerces.dom.ElementImpl
weblogic.apache.html.dom.HTMLElementImpl
public class HTMLElementImpl
Implements an HTML-specific element, an Element
that
will only appear inside HTML documents. This element extends ElementImpl
by adding methods for directly
manipulating HTML-specific attributes. All HTML elements gain access to
the id
, title
, lang
,
dir
and class
attributes. Other elements
add their own specific attributes.
HTMLElement
,
Serialized FormField Summary |
---|
Fields inherited from class weblogic.apache.xerces.dom.ElementImpl |
---|
attributes, name |
Fields inherited from class weblogic.apache.xerces.dom.ParentNode |
---|
firstChild, fNodeListCache, ownerDocument |
Fields inherited from class weblogic.apache.xerces.dom.ChildNode |
---|
nextSibling, previousSibling |
Fields inherited from class weblogic.apache.xerces.dom.NodeImpl |
---|
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IDATTRIBUTE, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, UNNORMALIZED |
Method Summary | |
---|---|
String |
getAttribute(String attrName)
Deprecated. Look up a single Attribute by name. |
Attr |
getAttributeNode(String attrName)
Deprecated. Look up a single Attribute by name. |
Attr |
getAttributeNodeNS(String namespaceURI,
String localName)
Deprecated. Retrieves an Attr node by local name and namespace URI. |
String |
getAttributeNS(String namespaceURI,
String localName)
Deprecated. Introduced in DOM Level 2. |
String |
getClassName()
Deprecated. |
String |
getDir()
Deprecated. |
NodeList |
getElementsByTagName(String tagName)
Deprecated. Returns a NodeList of all descendent nodes (children, grandchildren, and so on) which are Elements and which have the specified tag name. |
NodeList |
getElementsByTagNameNS(String namespaceURI,
String localName)
Deprecated. Introduced in DOM Level 2. |
org.w3c.dom.html.HTMLFormElement |
getForm()
Deprecated. Convenience method returns the form in which this form element is contained. |
String |
getId()
Deprecated. |
String |
getLang()
Deprecated. |
String |
getTitle()
Deprecated. |
void |
setClassName(String className)
Deprecated. |
void |
setDir(String dir)
Deprecated. |
void |
setId(String id)
Deprecated. |
void |
setLang(String lang)
Deprecated. |
void |
setTitle(String title)
Deprecated. |
Methods inherited from class weblogic.apache.xerces.dom.ElementImpl |
---|
cloneNode, getAttributes, getBaseURI, getDefaultAttributes, getNodeName, getNodeType, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttributeNode, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
Methods inherited from class weblogic.apache.xerces.dom.ParentNode |
---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren |
Methods inherited from class weblogic.apache.xerces.dom.ChildNode |
---|
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class weblogic.apache.xerces.dom.NodeImpl |
---|
addEventListener, appendChild, changed, changes, compareTreePosition, dispatchEvent, getInterface, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Element |
---|
getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Method Detail |
---|
public String getId()
getId
in interface org.w3c.dom.html.HTMLElement
public void setId(String id)
setId
in interface org.w3c.dom.html.HTMLElement
public String getTitle()
getTitle
in interface org.w3c.dom.html.HTMLElement
public void setTitle(String title)
setTitle
in interface org.w3c.dom.html.HTMLElement
public String getLang()
getLang
in interface org.w3c.dom.html.HTMLElement
public void setLang(String lang)
setLang
in interface org.w3c.dom.html.HTMLElement
public String getDir()
getDir
in interface org.w3c.dom.html.HTMLElement
public void setDir(String dir)
setDir
in interface org.w3c.dom.html.HTMLElement
public String getClassName()
getClassName
in interface org.w3c.dom.html.HTMLElement
public void setClassName(String className)
setClassName
in interface org.w3c.dom.html.HTMLElement
public Attr getAttributeNode(String attrName)
weblogic.apache.xerces.dom.ElementImpl
If no matching attribute is available, returns null.
getAttributeNode
in interface Element
getAttributeNode
in class weblogic.apache.xerces.dom.ElementImpl
public Attr getAttributeNodeNS(String namespaceURI, String localName)
weblogic.apache.xerces.dom.ElementImpl
getAttributeNodeNS
in interface Element
getAttributeNodeNS
in class weblogic.apache.xerces.dom.ElementImpl
namespaceURI
- The namespace URI of the attribute to
retrieve.localName
- The local name of the attribute to retrieve.
public String getAttribute(String attrName)
weblogic.apache.xerces.dom.ElementImpl
Note: Attributes may contain complex node trees. This method returns the "flattened" string obtained from Attribute.getValue(). If you need the structure information, see getAttributeNode().
getAttribute
in interface Element
getAttribute
in class weblogic.apache.xerces.dom.ElementImpl
public String getAttributeNS(String namespaceURI, String localName)
weblogic.apache.xerces.dom.ElementImpl
Retrieves an attribute value by local name and namespace URI.
getAttributeNS
in interface Element
getAttributeNS
in class weblogic.apache.xerces.dom.ElementImpl
namespaceURI
- The namespace URI of the attribute to
retrieve.localName
- The local name of the attribute to retrieve.
public final NodeList getElementsByTagName(String tagName)
weblogic.apache.xerces.dom.ElementImpl
Note: NodeList is a "live" view of the DOM. Its contents will change as the DOM changes, and alterations made to the NodeList will be reflected in the DOM.
getElementsByTagName
in interface Element
getElementsByTagName
in class weblogic.apache.xerces.dom.ElementImpl
tagName
- The type of element to gather. To obtain a list of
all elements no matter what their names, use the wild-card tag
name "*".DeepNodeListImpl
public final NodeList getElementsByTagNameNS(String namespaceURI, String localName)
weblogic.apache.xerces.dom.ElementImpl
Returns a NodeList of all the Elements with a given local name and namespace URI in the order in which they would be encountered in a preorder traversal of the Document tree, starting from this node.
getElementsByTagNameNS
in interface Element
getElementsByTagNameNS
in class weblogic.apache.xerces.dom.ElementImpl
namespaceURI
- The namespace URI of the elements to match
on. The special value "*" matches all
namespaces. When it is null or an empty
string, this method behaves like
getElementsByTagName.localName
- The local name of the elements to match on.
The special value "*" matches all local names.
public org.w3c.dom.html.HTMLFormElement getForm()
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |