|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Rhinohide RhiEventTarget RhiNode RhiElement
@ThreadSafe public class RhiElement
An element implemented as an overlay of a JavaScript element.
Field Summary |
---|
Fields inherited from class Rhinohide |
---|
window |
Constructor Summary | |
---|---|
protected |
RhiElement(RhiWindow window,
netscape.javascript.JSObject jsObject)
|
Method Summary | |
---|---|
String |
getAttribute(String name)
|
Attr |
getAttributeNode(String name)
|
Attr |
getAttributeNodeNS(String namespaceURI,
String localName)
Untested. |
String |
getAttributeNS(String namespaceURI,
String localName)
|
NodeList |
getElementsByTagName(String name)
|
NodeList |
getElementsByTagNameNS(String namespaceURI,
String localName)
Untested. |
String |
getLocalName()
|
TypeInfo |
getSchemaTypeInfo()
Not yet coded. |
String |
getTagName()
|
boolean |
hasAttribute(String name)
Not yet coded. |
boolean |
hasAttributeNS(String namespaceURI,
String localName)
Not yet coded. |
void |
removeAttribute(String name)
|
Attr |
removeAttributeNode(Attr oldAttr)
|
void |
removeAttributeNS(String namespaceURI,
String localName)
Untested. |
void |
setAttribute(String name,
String value)
|
Attr |
setAttributeNode(Attr newAttr)
|
Attr |
setAttributeNodeNS(Attr newAttr)
Untested. |
void |
setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
|
void |
setIdAttribute(String name,
boolean isId)
Not yet coded. |
void |
setIdAttributeNode(Attr idAttr,
boolean isId)
Not yet coded. |
void |
setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
Not yet coded. |
static RhiElement |
wrapElement(RhiWindow window,
netscape.javascript.JSObject jsObject)
Creates a RhiElement. |
(package private) static RhiElement |
wrapElement(RhiWindow window,
netscape.javascript.JSObject jsObject,
boolean doTypeCheck)
|
Methods inherited from class RhiEventTarget |
---|
addEventListener, dispatchEvent, removeEventListener, wrapEventTarget |
Methods inherited from class Rhinohide |
---|
call, callV, checkV, eval, evalV, getMember, getMemberV, jsObject, setMember, toJSObject, toString, window |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, 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 |
Constructor Detail |
---|
protected RhiElement(RhiWindow window, netscape.javascript.JSObject jsObject)
Method Detail |
---|
public static RhiElement wrapElement(RhiWindow window, netscape.javascript.JSObject jsObject)
window
- global objectjsObject
- bridge to underlying JavaScript element,
per jsObject()
IllegalArgumentException
- if jsObject is neither null
nor an elementstatic RhiElement wrapElement(RhiWindow window, netscape.javascript.JSObject jsObject, boolean doTypeCheck)
public final String getAttribute(String name)
getAttribute
in interface Element
public final String getAttributeNS(String namespaceURI, String localName)
getAttributeNS
in interface Element
public final void setAttribute(String name, String value)
setAttribute
in interface Element
public final void setAttributeNS(String namespaceURI, String qualifiedName, String value)
setAttributeNS
in interface Element
public final Attr getAttributeNode(String name)
getAttributeNode
in interface Element
public final Attr setAttributeNode(Attr newAttr)
setAttributeNode
in interface Element
public final Attr getAttributeNodeNS(String namespaceURI, String localName)
getAttributeNodeNS
in interface Element
public final Attr setAttributeNodeNS(Attr newAttr)
setAttributeNodeNS
in interface Element
public final NodeList getElementsByTagName(String name)
getElementsByTagName
in interface Element
public final NodeList getElementsByTagNameNS(String namespaceURI, String localName)
getElementsByTagNameNS
in interface Element
public final TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface Element
UnsupportedOperationException
public final String getTagName()
getTagName
in interface Element
public final boolean hasAttribute(String name)
hasAttribute
in interface Element
UnsupportedOperationException
public final boolean hasAttributeNS(String namespaceURI, String localName)
hasAttributeNS
in interface Element
UnsupportedOperationException
public final void removeAttribute(String name)
removeAttribute
in interface Element
public final void removeAttributeNS(String namespaceURI, String localName)
removeAttributeNS
in interface Element
public final Attr removeAttributeNode(Attr oldAttr)
removeAttributeNode
in interface Element
public final void setIdAttribute(String name, boolean isId)
setIdAttribute
in interface Element
UnsupportedOperationException
public final void setIdAttributeNS(String namespaceURI, String localName, boolean isId)
setIdAttributeNS
in interface Element
UnsupportedOperationException
public final void setIdAttributeNode(Attr idAttr, boolean isId)
setIdAttributeNode
in interface Element
UnsupportedOperationException
public final String getLocalName()
getLocalName
in interface Node
getLocalName
in class RhiNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |