org.mozilla.javascript.xml
public abstract class XMLObject extends IdScriptableObject
See Also: XML
| Constructor Summary | |
|---|---|
| XMLObject() | |
| XMLObject(Scriptable scope, Scriptable prototype) | |
| Method Summary | |
|---|---|
| Object | addValues(Context cx, boolean thisIsLeft, Object value)
Custom + operator.
|
| abstract boolean | ecmaDelete(Context cx, Object id)
Implementation of ECMAScript [[Delete]]. |
| abstract Object | ecmaGet(Context cx, Object id)
Implementation of ECMAScript [[Get]]. |
| abstract boolean | ecmaHas(Context cx, Object id)
Implementation of ECMAScript [[Has]]. |
| abstract void | ecmaPut(Context cx, Object id, Object value)
Implementation of ECMAScript [[Put]]. |
| abstract NativeWith | enterDotQuery(Scriptable scope)
Wrap this object into NativeWith to implement the .() query. |
| abstract NativeWith | enterWith(Scriptable scope)
Wrap this object into NativeWith to implement the with statement. |
| abstract Scriptable | getExtraMethodSource(Context cx)
Return an additional object to look for methods that runtime should
consider during method search. |
| abstract Ref | memberRef(Context cx, Object elem, int memberTypeFlags)
Generic reference to implement x.@y, x..y etc. |
| abstract Ref | memberRef(Context cx, Object namespace, Object elem, int memberTypeFlags)
Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc. |
The default implementation returns NOT_FOUND to indicate no custom addition operation.
Parameters: cx the Context object associated with the current thread. thisIsLeft if true, the object should calculate this + value if false, the object should calculate value + this. value the second argument for addition operation.