| java.lang.Object org.mozilla.javascript.ScriptableObject org.mozilla.javascript.IdScriptableObject org.mozilla.javascript.xml.XMLObject org.mozilla.javascript.xmlimpl.XMLObjectImpl
All known Subclasses: org.mozilla.javascript.xmlimpl.XML, org.mozilla.javascript.xmlimpl.XMLList,
XMLObjectImpl | abstract class XMLObjectImpl extends XMLObject (Code) | | This abstract class describes what all XML objects (XML, XMLList) should
have in common.
See Also: XML |
Method Summary | |
abstract void | addMatches(XMLList rv, XMLName name) | final public Object | addValues(Context cx, boolean thisIsLeft, Object value) | abstract XMLList | child(int index) | abstract XMLList | child(XMLName xmlName) | abstract XMLList | children() | abstract XMLList | comments() | abstract boolean | contains(Object xml) | abstract XMLObjectImpl | copy() | final XML | createEmptyXML() | final Namespace | createNamespace(XmlNode.Namespace declaration) | final Namespace[] | createNamespaces(XmlNode.Namespace[] declarations) | final public void | delete(String name) | abstract void | deleteXMLProperty(XMLName name) ecmaDelete(cx, id) calls this after resolving when id to XMLName
and checking it is not Uint32 index. | final public boolean | ecmaDelete(Context cx, Object id) Implementation of ECMAScript [[Delete]]. | final String | ecmaEscapeAttributeValue(String s) | final public Object | ecmaGet(Context cx, Object id) | final public boolean | ecmaHas(Context cx, Object id) | final public void | ecmaPut(Context cx, Object id, Object value) | final XML | ecmaToXml(Object object) | abstract XMLList | elements(XMLName xmlName) | public NativeWith | enterDotQuery(Scriptable scope) | public NativeWith | enterWith(Scriptable scope) | final protected Object | equivalentValues(Object value) XMLObject always compare with any value and equivalentValues
never returns
Scriptable.NOT_FOUND for them but rather
calls equivalentXml(value) and wrap the result as Boolean. | abstract boolean | equivalentXml(Object target) Test XML equality with target the target. | public Object | execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) | final void | exportAsJSClass(boolean sealed) | protected int | findPrototypeId(String s) | final public Object | get(String name, Scriptable start) | final public Object | getDefaultValue(Class hint) | XMLLibImpl | getLib() | final Object | getMethod(String id) | final public Scriptable | getParentScope() | final XmlProcessor | getProcessor() | final public Scriptable | getPrototype() | abstract XML | getXML() | abstract Object | getXMLProperty(XMLName name) ecmaGet(cx, id) calls this after resolving when id to XMLName
and checking it is not Uint32 index. | final public boolean | has(String name, Scriptable start) | abstract boolean | hasComplexContent() | final public boolean | hasInstance(Scriptable scriptable) | abstract boolean | hasOwnProperty(XMLName xmlName) | abstract boolean | hasSimpleContent() | abstract boolean | hasXMLProperty(XMLName name) ecmaHas(cx, id) calls this after resolving when id to XMLName
and checking it is not Uint32 index. | protected void | initPrototypeId(int id) | final void | initialize(XMLLibImpl lib, Scriptable scope, XMLObject prototype) | final boolean | isPrototype() | abstract protected Object | jsConstructor(Context cx, boolean inNewExpr, Object[] args) | abstract int | length() | public Ref | memberRef(Context cx, Object elem, int memberTypeFlags) | public Ref | memberRef(Context cx, Object namespace, Object elem, int memberTypeFlags) Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc. | final QName | newQName(String uri, String localName, String prefix) | final QName | newQName(XmlNode.QName name) | final XML | newTextElementXML(XmlNode reference, XmlNode.QName qname, String value) | final XML | newXML(XmlNode node) | final XML | newXMLFromJs(Object inputObject) | final XMLList | newXMLList() | final XMLList | newXMLListFrom(Object o) | abstract void | normalize() | abstract Object | parent() | abstract XMLList | processingInstructions(XMLName xmlName) | abstract boolean | propertyIsEnumerable(Object member) | final public void | put(String name, Scriptable start, Object value) | abstract void | putXMLProperty(XMLName name, Object value) ecmaPut(cx, id, value) calls this after resolving when id to XMLName
and checking it is not Uint32 index. | final public void | setParentScope(Scriptable parent) | final public void | setPrototype(Scriptable prototype) | abstract XMLList | text() | abstract public String | toString() | abstract String | toXMLString() | abstract Object | valueOf() | XML | xmlFromNode(XmlNode node) |
createEmptyXML | final XML createEmptyXML()(Code) | | |
deleteXMLProperty | abstract void deleteXMLProperty(XMLName name)(Code) | | ecmaDelete(cx, id) calls this after resolving when id to XMLName
and checking it is not Uint32 index.
|
ecmaDelete | final public boolean ecmaDelete(Context cx, Object id)(Code) | | Implementation of ECMAScript [[Delete]].
|
ecmaHas | final public boolean ecmaHas(Context cx, Object id)(Code) | | Implementation of ECMAScript [[Has]]
|
equivalentValues | final protected Object equivalentValues(Object value)(Code) | | XMLObject always compare with any value and equivalentValues
never returns
Scriptable.NOT_FOUND for them but rather
calls equivalentXml(value) and wrap the result as Boolean.
|
equivalentXml | abstract boolean equivalentXml(Object target)(Code) | | Test XML equality with target the target.
|
exportAsJSClass | final void exportAsJSClass(boolean sealed)(Code) | | |
findPrototypeId | protected int findPrototypeId(String s)(Code) | | |
getXMLProperty | abstract Object getXMLProperty(XMLName name)(Code) | | ecmaGet(cx, id) calls this after resolving when id to XMLName
and checking it is not Uint32 index.
|
hasComplexContent | abstract boolean hasComplexContent()(Code) | | |
hasOwnProperty | abstract boolean hasOwnProperty(XMLName xmlName)(Code) | | |
hasSimpleContent | abstract boolean hasSimpleContent()(Code) | | |
hasXMLProperty | abstract boolean hasXMLProperty(XMLName name)(Code) | | ecmaHas(cx, id) calls this after resolving when id to XMLName
and checking it is not Uint32 index.
|
initPrototypeId | protected void initPrototypeId(int id)(Code) | | |
isPrototype | final boolean isPrototype()(Code) | | |
length | abstract int length()(Code) | | |
memberRef | public Ref memberRef(Context cx, Object namespace, Object elem, int memberTypeFlags)(Code) | | Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.
|
normalize | abstract void normalize()(Code) | | |
propertyIsEnumerable | abstract boolean propertyIsEnumerable(Object member)(Code) | | |
putXMLProperty | abstract void putXMLProperty(XMLName name, Object value)(Code) | | ecmaPut(cx, id, value) calls this after resolving when id to XMLName
and checking it is not Uint32 index.
|
Methods inherited from org.mozilla.javascript.xml.XMLObject | public Object addValues(Context cx, boolean thisIsLeft, Object value)(Code)(Java Doc) abstract public boolean ecmaDelete(Context cx, Object id)(Code)(Java Doc) abstract public Object ecmaGet(Context cx, Object id)(Code)(Java Doc) abstract public boolean ecmaHas(Context cx, Object id)(Code)(Java Doc) abstract public void ecmaPut(Context cx, Object id, Object value)(Code)(Java Doc) abstract public NativeWith enterDotQuery(Scriptable scope)(Code)(Java Doc) abstract public NativeWith enterWith(Scriptable scope)(Code)(Java Doc) abstract public Scriptable getExtraMethodSource(Context cx)(Code)(Java Doc) abstract public Ref memberRef(Context cx, Object elem, int memberTypeFlags)(Code)(Java Doc) abstract public Ref memberRef(Context cx, Object namespace, Object elem, int memberTypeFlags)(Code)(Java Doc)
|
Methods inherited from org.mozilla.javascript.IdScriptableObject | final public void activatePrototypeMap(int maxPrototypeId)(Code)(Java Doc) protected void addIdFunctionProperty(Scriptable obj, Object tag, int id, String name, int arity)(Code)(Java Doc) final protected Object defaultGet(String name)(Code)(Java Doc) final protected void defaultPut(String name, Object value)(Code)(Java Doc) public void delete(String name)(Code)(Java Doc) public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)(Code)(Java Doc) final public IdFunctionObject exportAsJSClass(int maxPrototypeId, Scriptable scope, boolean sealed)(Code)(Java Doc) protected void fillConstructorProperties(IdFunctionObject ctor)(Code)(Java Doc) protected int findInstanceIdInfo(String name)(Code)(Java Doc) protected int findPrototypeId(String name)(Code)(Java Doc) public Object get(String name, Scriptable start)(Code)(Java Doc) public int getAttributes(String name)(Code)(Java Doc) protected String getInstanceIdName(int id)(Code)(Java Doc) protected Object getInstanceIdValue(int id)(Code)(Java Doc) protected int getMaxInstanceId()(Code)(Java Doc) public boolean has(String name, Scriptable start)(Code)(Java Doc) final public boolean hasPrototypeMap()(Code)(Java Doc) protected static EcmaError incompatibleCallError(IdFunctionObject f)(Code)(Java Doc) final public void initPrototypeConstructor(IdFunctionObject f)(Code)(Java Doc) protected void initPrototypeId(int id)(Code)(Java Doc) final public void initPrototypeMethod(Object tag, int id, String name, int arity)(Code)(Java Doc) final public void initPrototypeValue(int id, String name, Object value, int attributes)(Code)(Java Doc) protected static int instanceIdInfo(int attributes, int id)(Code)(Java Doc) public void put(String name, Scriptable start, Object value)(Code)(Java Doc) public void setAttributes(String name, int attributes)(Code)(Java Doc) protected void setInstanceIdValue(int id, Object value)(Code)(Java Doc)
|
Methods inherited from org.mozilla.javascript.ScriptableObject | final public Object associateValue(Object key, Object value)(Code)(Java Doc) public boolean avoidObjectDetection()(Code)(Java Doc) public static Object callMethod(Scriptable obj, String methodName, Object[] args)(Code)(Java Doc) public static Object callMethod(Context cx, Scriptable obj, String methodName, Object[] args)(Code)(Java Doc) public static void defineClass(Scriptable scope, Class clazz) throws IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc) public static void defineClass(Scriptable scope, Class clazz, boolean sealed) throws IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc) public static String defineClass(Scriptable scope, Class clazz, boolean sealed, boolean mapInheritance) throws IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc) public void defineConst(String name, Scriptable start)(Code)(Java Doc) public static void defineConstProperty(Scriptable destination, String propertyName)(Code)(Java Doc) public void defineFunctionProperties(String[] names, Class clazz, int attributes)(Code)(Java Doc) public void defineProperty(String propertyName, Object value, int attributes)(Code)(Java Doc) public static void defineProperty(Scriptable destination, String propertyName, Object value, int attributes)(Code)(Java Doc) public void defineProperty(String propertyName, Class clazz, int attributes)(Code)(Java Doc) public void defineProperty(String propertyName, Object delegateTo, Method getter, Method setter, int attributes)(Code)(Java Doc) public void delete(String name)(Code)(Java Doc) public void delete(int index)(Code)(Java Doc) public static boolean deleteProperty(Scriptable obj, String name)(Code)(Java Doc) public static boolean deleteProperty(Scriptable obj, int index)(Code)(Java Doc) protected Object equivalentValues(Object value)(Code)(Java Doc) public Object get(String name, Scriptable start)(Code)(Java Doc) public Object get(int index, Scriptable start)(Code)(Java Doc) public Object[] getAllIds()(Code)(Java Doc) final public Object getAssociatedValue(Object key)(Code)(Java Doc) final public int getAttributes(String name, Scriptable start)(Code)(Java Doc) final public int getAttributes(int index, Scriptable start)(Code)(Java Doc) public int getAttributes(String name)(Code)(Java Doc) public int getAttributes(int index)(Code)(Java Doc) abstract public String getClassName()(Code)(Java Doc) public static Scriptable getClassPrototype(Scriptable scope, String className)(Code)(Java Doc) public Object getDefaultValue(Class typeHint)(Code)(Java Doc) public static Object getDefaultValue(Scriptable object, Class typeHint)(Code)(Java Doc) public static Scriptable getFunctionPrototype(Scriptable scope)(Code)(Java Doc) public Object getGetterOrSetter(String name, int index, boolean isSetter)(Code)(Java Doc) public Object[] getIds()(Code)(Java Doc) public static Scriptable getObjectPrototype(Scriptable scope)(Code)(Java Doc) public Scriptable getParentScope()(Code)(Java Doc) public static Object getProperty(Scriptable obj, String name)(Code)(Java Doc) public static Object getProperty(Scriptable obj, int index)(Code)(Java Doc) public static Object[] getPropertyIds(Scriptable obj)(Code)(Java Doc) public Scriptable getPrototype()(Code)(Java Doc) public static Scriptable getTopLevelScope(Scriptable obj)(Code)(Java Doc) public static Object getTopScopeValue(Scriptable scope, Object key)(Code)(Java Doc) public boolean has(String name, Scriptable start)(Code)(Java Doc) public boolean has(int index, Scriptable start)(Code)(Java Doc) public boolean hasInstance(Scriptable instance)(Code)(Java Doc) public static boolean hasProperty(Scriptable obj, String name)(Code)(Java Doc) public static boolean hasProperty(Scriptable obj, int index)(Code)(Java Doc) public boolean isConst(String name)(Code)(Java Doc) protected boolean isGetterOrSetter(String name, int index, boolean setter)(Code)(Java Doc) final public boolean isSealed()(Code)(Java Doc) public void put(String name, Scriptable start, Object value)(Code)(Java Doc) public void put(int index, Scriptable start, Object value)(Code)(Java Doc) public void putConst(String name, Scriptable start, Object value)(Code)(Java Doc) public static void putConstProperty(Scriptable obj, String name, Object value)(Code)(Java Doc) public static void putProperty(Scriptable obj, String name, Object value)(Code)(Java Doc) public static void putProperty(Scriptable obj, int index, Object value)(Code)(Java Doc) public static void redefineProperty(Scriptable obj, String name, boolean isConst)(Code)(Java Doc) public synchronized void sealObject()(Code)(Java Doc) final public void setAttributes(String name, Scriptable start, int attributes)(Code)(Java Doc) public void setAttributes(int index, Scriptable start, int attributes)(Code)(Java Doc) public void setAttributes(String name, int attributes)(Code)(Java Doc) public void setAttributes(int index, int attributes)(Code)(Java Doc) public void setGetterOrSetter(String name, int index, Callable getterOrSeter, boolean isSetter)(Code)(Java Doc) public void setParentScope(Scriptable m)(Code)(Java Doc) public void setPrototype(Scriptable m)(Code)(Java Doc)
|
|
|