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, setInstanceIdValueapplyDescriptorToAttributeBitset, 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, sizepublic 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.XMLObjectpublic String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic Object get(int index, org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.Scriptableget in class org.mozilla.javascript.ScriptableObjectpublic boolean has(int index,
org.mozilla.javascript.Scriptable start)
has in interface org.mozilla.javascript.Scriptablehas in class org.mozilla.javascript.ScriptableObjectpublic void put(int index,
org.mozilla.javascript.Scriptable start,
Object value)
put in interface org.mozilla.javascript.Scriptableput in class org.mozilla.javascript.ScriptableObjectpublic void delete(int index)
delete in interface org.mozilla.javascript.Scriptabledelete in class org.mozilla.javascript.ScriptableObjectpublic 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.IdScriptableObjectprotected int findPrototypeId(String s)
findPrototypeId in class org.mozilla.javascript.IdScriptableObjectpublic 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.IdFunctionCallexecIdCall in class org.mozilla.javascript.IdScriptableObjectpublic void delete(String name)
delete in interface org.mozilla.javascript.Scriptabledelete in class org.mozilla.javascript.IdScriptableObjectpublic final Object addValues(org.mozilla.javascript.Context cx, boolean thisIsLeft, Object value)
addValues in class org.mozilla.javascript.xml.XMLObjectpublic final Object getDefaultValue(Class hint)
getDefaultValue in interface org.mozilla.javascript.ScriptablegetDefaultValue in class org.mozilla.javascript.ScriptableObjectprotected final Object equivalentValues(Object value)
equivalentValues in class org.mozilla.javascript.ScriptableObjectpublic final boolean ecmaDelete(org.mozilla.javascript.Context cx,
Object id)
ecmaDelete in class org.mozilla.javascript.xml.XMLObjectpublic final boolean ecmaHas(org.mozilla.javascript.Context cx,
Object id)
ecmaHas in class org.mozilla.javascript.xml.XMLObjectpublic final Object ecmaGet(org.mozilla.javascript.Context cx, Object id)
ecmaGet in class org.mozilla.javascript.xml.XMLObjectpublic final void ecmaPut(org.mozilla.javascript.Context cx,
Object id,
Object value)
ecmaPut in class org.mozilla.javascript.xml.XMLObjectpublic org.mozilla.javascript.NativeWith enterWith(org.mozilla.javascript.Scriptable scope)
enterWith in class org.mozilla.javascript.xml.XMLObjectpublic org.mozilla.javascript.NativeWith enterDotQuery(org.mozilla.javascript.Scriptable scope)
enterDotQuery in class org.mozilla.javascript.xml.XMLObjectpublic org.mozilla.javascript.Ref memberRef(org.mozilla.javascript.Context cx,
Object elem,
int memberTypeFlags)
memberRef in class org.mozilla.javascript.xml.XMLObjectCopyright © 2013 WSO2. All Rights Reserved.