|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mozilla.javascript.ScriptableObject com.gargoylesoftware.htmlunit.javascript.SimpleScriptable com.gargoylesoftware.htmlunit.javascript.host.Attribute
public class Attribute
A JavaScript object for an Attribute.
Field Summary |
---|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
Attribute()
Create an instance. |
Method Summary | |
---|---|
void |
detachFromParent()
Detaches this attribute from the parent HTML element after caching the attribute value. |
void |
init(java.lang.String name,
HtmlElement parent)
Initializes this attribute. |
boolean |
jsxGet_expando()
Returns true if arbitrary properties can be added to this attribute. |
java.lang.Object |
jsxGet_firstChild()
Returns null |
java.lang.Object |
jsxGet_lastChild()
Returns null |
java.lang.String |
jsxGet_name()
Returns the name of the attribute. |
java.lang.Object |
jsxGet_nextSibling()
Returns null |
java.lang.String |
jsxGet_nodeName()
Returns the name of this attribute. |
int |
jsxGet_nodeType()
Returns the type of DOM node this attribute represents. |
java.lang.String |
jsxGet_nodeValue()
Returns the value of this attribute. |
java.lang.Object |
jsxGet_ownerDocument()
Returns the containing document. |
java.lang.Object |
jsxGet_parentNode()
Returns null |
java.lang.Object |
jsxGet_previousSibling()
Returns null |
boolean |
jsxGet_specified()
Returns true if this attribute has been specified. |
java.lang.String |
jsxGet_value()
Returns the value of this attribute. |
void |
jsxSet_value(java.lang.String value)
Sets the value of this attribute. |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
---|
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setDomNode, setHtmlElement |
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Attribute()
Method Detail |
---|
public void detachFromParent()
public void init(java.lang.String name, HtmlElement parent)
name
- the name of the attribute.parent
- the parent html element.public boolean jsxGet_expando()
public java.lang.Object jsxGet_firstChild()
null
null
public java.lang.Object jsxGet_lastChild()
null
null
public java.lang.String jsxGet_name()
public java.lang.Object jsxGet_nextSibling()
null
null
public java.lang.String jsxGet_nodeName()
public int jsxGet_nodeType()
public java.lang.String jsxGet_nodeValue()
public java.lang.Object jsxGet_ownerDocument()
public java.lang.Object jsxGet_parentNode()
null
null
public java.lang.Object jsxGet_previousSibling()
null
null
public boolean jsxGet_specified()
public java.lang.String jsxGet_value()
public void jsxSet_value(java.lang.String value)
value
- the new value of this attribute.
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |