public class XMLAttribute extends SimpleScriptable
Constructor and Description |
---|
XMLAttribute()
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
detachFromParent()
Detaches this attribute from the parent XML element after caching the attribute value.
|
void |
init(String name,
XmlElement parent)
Initializes this attribute.
|
boolean |
jsxGet_expando()
Returns true if arbitrary properties can be added to this attribute.
|
Object |
jsxGet_firstChild()
Returns
null |
Object |
jsxGet_lastChild()
Returns
null |
String |
jsxGet_name()
Returns the name of the attribute.
|
Object |
jsxGet_nextSibling()
Returns
null |
String |
jsxGet_nodeName()
Returns the name of this attribute.
|
int |
jsxGet_nodeType()
Returns the type of DOM node this attribute represents.
|
String |
jsxGet_nodeValue()
Returns the value of this attribute.
|
Object |
jsxGet_ownerDocument()
Returns the containing document.
|
Object |
jsxGet_parentNode()
Returns
null |
Object |
jsxGet_previousSibling()
Returns
null |
boolean |
jsxGet_specified()
Returns true if this attribute has been specified.
|
String |
jsxGet_value()
Returns the value of this attribute.
|
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getIntArg, getLog, getObjectArg, getPrototype, getScriptableFor, getStartingScope, getStringArg, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, makeScriptableFor, setDomNode, setDomNode, setHtmlElement
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, 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
public XMLAttribute()
public void init(String name, XmlElement parent)
name
- the name of the attribute.parent
- the parent xml element.public void detachFromParent()
public boolean jsxGet_expando()
public Object jsxGet_firstChild()
null
null
public Object jsxGet_lastChild()
null
null
public String jsxGet_name()
public Object jsxGet_nextSibling()
null
null
public String jsxGet_nodeName()
public int jsxGet_nodeType()
public String jsxGet_nodeValue()
public Object jsxGet_ownerDocument()
public Object jsxGet_parentNode()
null
null
public Object jsxGet_previousSibling()
null
null
public boolean jsxGet_specified()
public String jsxGet_value()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.