public class XMLList
extends org.mozilla.javascript.xml.XMLObject
implements org.mozilla.javascript.Function
Modifier and Type | Field and Description |
---|---|
int |
f |
protected XMLLibImpl |
lib |
protected boolean |
prototypeFlag |
Constructor and Description |
---|
XMLList(XMLLibImpl lib) |
XMLList(XMLLibImpl lib,
List axiomNodeList) |
Modifier and Type | Method and Description |
---|---|
void |
addAxiomNode(AxiomNode axiomNode) |
Object |
addValues(org.mozilla.javascript.Context cx,
boolean thisIsLeft,
Object value) |
Object |
call(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
Object[] args) |
org.mozilla.javascript.Scriptable |
construct(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
Object[] args) |
void |
delete(int index) |
void |
delete(String name) |
boolean |
ecmaDelete(org.mozilla.javascript.Context cx,
Object id)
Implementation of ECMAScript [[Delete]].
|
Object |
ecmaGet(org.mozilla.javascript.Context cx,
Object id)
Implementation of ECMAScript [[Get]]
|
boolean |
ecmaHas(org.mozilla.javascript.Context cx,
Object id)
Implementation of ECMAScript [[Has]].
|
void |
ecmaPut(org.mozilla.javascript.Context cx,
Object id,
Object value)
Implementation of ECMAScript [[Put]].
|
org.mozilla.javascript.NativeWith |
enterDotQuery(org.mozilla.javascript.Scriptable scope) |
org.mozilla.javascript.NativeWith |
enterWith(org.mozilla.javascript.Scriptable scope) |
protected Object |
equivalentValues(Object value) |
Object |
execIdCall(org.mozilla.javascript.IdFunctionObject f,
org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
Object[] args) |
protected int |
findPrototypeId(String s) |
Object |
get(int index,
org.mozilla.javascript.Scriptable start) |
org.apache.axiom.om.OMNode[] |
getAxiomFromXML() |
String |
getClassName() |
Object |
getDefaultValue(Class hint) |
org.mozilla.javascript.Scriptable |
getExtraMethodSource(org.mozilla.javascript.Context cx) |
Object[] |
getIds() |
boolean |
has(int index,
org.mozilla.javascript.Scriptable start) |
protected void |
initPrototypeId(int id) |
protected Object |
jsConstructor(org.mozilla.javascript.Context cx,
boolean inNewExpr,
Object[] args) |
int |
length() |
org.mozilla.javascript.Ref |
memberRef(org.mozilla.javascript.Context cx,
Object elem,
int memberTypeFlags) |
org.mozilla.javascript.Ref |
memberRef(org.mozilla.javascript.Context cx,
Object namespace,
Object elem,
int memberTypeFlags) |
void |
put(int index,
org.mozilla.javascript.Scriptable start,
Object value) |
void |
setTargets(org.wso2.javascript.xmlimpl.XMLObjectImpl targetObject,
javax.xml.namespace.QName targetProperty) |
String |
toString() |
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, defineOwnProperty, exportAsJSClass, fillConstructorProperties, findInstanceIdInfo, get, getAttributes, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, getOwnPropertyDescriptor, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdValue
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineProperty, defineProperty, defineProperty, defineProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
public int f
protected final XMLLibImpl lib
protected boolean prototypeFlag
public XMLList(XMLLibImpl lib)
public XMLList(XMLLibImpl lib, List axiomNodeList)
public org.mozilla.javascript.Scriptable getExtraMethodSource(org.mozilla.javascript.Context cx)
getExtraMethodSource
in class org.mozilla.javascript.xml.XMLObject
public String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class org.mozilla.javascript.ScriptableObject
public void delete(int index)
delete
in interface org.mozilla.javascript.Scriptable
delete
in class org.mozilla.javascript.ScriptableObject
public boolean has(int index, org.mozilla.javascript.Scriptable start)
has
in interface org.mozilla.javascript.Scriptable
has
in class org.mozilla.javascript.ScriptableObject
public void put(int index, org.mozilla.javascript.Scriptable start, Object value)
put
in interface org.mozilla.javascript.Scriptable
put
in class org.mozilla.javascript.ScriptableObject
public Object get(int index, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
get
in class org.mozilla.javascript.ScriptableObject
public Object[] getIds()
getIds
in interface org.mozilla.javascript.Scriptable
getIds
in class org.mozilla.javascript.ScriptableObject
public Object call(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, Object[] args)
call
in interface org.mozilla.javascript.Callable
call
in interface org.mozilla.javascript.Function
public org.mozilla.javascript.Scriptable construct(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object[] args)
construct
in interface org.mozilla.javascript.Function
protected Object jsConstructor(org.mozilla.javascript.Context cx, boolean inNewExpr, Object[] args)
public int length()
public String toString()
public void addAxiomNode(AxiomNode axiomNode)
public void setTargets(org.wso2.javascript.xmlimpl.XMLObjectImpl targetObject, javax.xml.namespace.QName targetProperty)
public org.apache.axiom.om.OMNode[] getAxiomFromXML()
protected void initPrototypeId(int id)
initPrototypeId
in class org.mozilla.javascript.IdScriptableObject
protected int findPrototypeId(String s)
findPrototypeId
in class org.mozilla.javascript.IdScriptableObject
public Object execIdCall(org.mozilla.javascript.IdFunctionObject f, org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, Object[] args)
execIdCall
in interface org.mozilla.javascript.IdFunctionCall
execIdCall
in class org.mozilla.javascript.IdScriptableObject
public void delete(String name)
delete
in interface org.mozilla.javascript.Scriptable
delete
in class org.mozilla.javascript.IdScriptableObject
public final Object addValues(org.mozilla.javascript.Context cx, boolean thisIsLeft, Object value)
addValues
in class org.mozilla.javascript.xml.XMLObject
public final Object getDefaultValue(Class hint)
getDefaultValue
in interface org.mozilla.javascript.Scriptable
getDefaultValue
in class org.mozilla.javascript.ScriptableObject
protected final Object equivalentValues(Object value)
equivalentValues
in class org.mozilla.javascript.ScriptableObject
public final boolean ecmaDelete(org.mozilla.javascript.Context cx, Object id)
ecmaDelete
in class org.mozilla.javascript.xml.XMLObject
public final boolean ecmaHas(org.mozilla.javascript.Context cx, Object id)
ecmaHas
in class org.mozilla.javascript.xml.XMLObject
public final Object ecmaGet(org.mozilla.javascript.Context cx, Object id)
ecmaGet
in class org.mozilla.javascript.xml.XMLObject
public final void ecmaPut(org.mozilla.javascript.Context cx, Object id, Object value)
ecmaPut
in class org.mozilla.javascript.xml.XMLObject
public org.mozilla.javascript.NativeWith enterWith(org.mozilla.javascript.Scriptable scope)
enterWith
in class org.mozilla.javascript.xml.XMLObject
public org.mozilla.javascript.NativeWith enterDotQuery(org.mozilla.javascript.Scriptable scope)
enterDotQuery
in class org.mozilla.javascript.xml.XMLObject
public org.mozilla.javascript.Ref memberRef(org.mozilla.javascript.Context cx, Object elem, int memberTypeFlags)
memberRef
in class org.mozilla.javascript.xml.XMLObject
Copyright © 2013 WSO2. All Rights Reserved.