public class XML
extends org.mozilla.javascript.xml.XMLObject
Modifier and Type | Field and Description |
---|---|
int |
f |
protected XMLLibImpl |
lib |
protected boolean |
prototypeFlag |
Modifier and Type | Method and Description |
---|---|
Object |
addValues(org.mozilla.javascript.Context cx,
boolean thisIsLeft,
Object value) |
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) |
boolean |
has(int index,
org.mozilla.javascript.Scriptable start) |
protected void |
initPrototypeId(int id) |
XML |
insertChild(AxiomNode refNode,
Object value,
int mode)
Insert the value according to the refNode and mode
If refNode is null then append or prepend the value based on the mode
If refNode is not null then insert value after or before the refNode based on the mode
|
protected Object |
jsConstructor(org.mozilla.javascript.Context cx,
boolean inNewExpr,
Object[] args) |
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) |
protected void |
removeChild(AxiomNode axiomNode) |
void |
replaceAll(XML targetXML) |
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, getIds, 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
protected Object jsConstructor(org.mozilla.javascript.Context cx, boolean inNewExpr, Object[] args)
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 Object get(int index, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
get
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 void delete(int index)
delete
in interface org.mozilla.javascript.Scriptable
delete
in class org.mozilla.javascript.ScriptableObject
public String toString()
protected void removeChild(AxiomNode axiomNode)
public org.apache.axiom.om.OMNode getAxiomFromXML()
public XML insertChild(AxiomNode refNode, Object value, int mode)
refNode
- value
- mode
- represent APPEND or PREPENDpublic void replaceAll(XML targetXML)
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.