|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.dom.client.Node
org.xwiki.gwt.dom.client.Attribute
public class Attribute
Exposes a JavaScript DOM attribute node in Java code.
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.dom.client.Node |
|---|
DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
protected |
Attribute()
Default constructor. |
| Method Summary | |
|---|---|
String |
getName()
|
Element |
getOwnerElement()
|
String |
getValue()
|
boolean |
isSpecified()
|
void |
setValue(String value)
Sets the value of this attribute. |
| Methods inherited from class com.google.gwt.dom.client.Node |
|---|
appendChild, as, cloneNode, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, hasChildNodes, hasParentElement, insertAfter, insertBefore, insertFirst, is, isOrHasChild, removeChild, removeFromParent, replaceChild, setNodeValue |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Attribute()
| Method Detail |
|---|
public final String getName()
public final boolean isSpecified()
true if this attribute was explicitly given a value in the original document, false
otherwisepublic final String getValue()
Element.getAttribute(String)public final void setValue(String value)
value - the new valueElement.setAttribute(String, String)public final Element getOwnerElement()
null if this attribute is not in use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||