/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java
if ( xmlName == null ) { long index = ScriptRuntime.lastUint32Result ( cx ) ; return has ( ( int ) index, this ) ; }
return result ? Boolean.TRUE : Boolean.FALSE; } @Override public final boolean has(Context cx, Object id) { if (cx == null) cx = Context.getCurrentContext(); XMLName xmlName = lib.toXMLNameOrIndex(cx, id); <extra_id_0> return hasXMLProperty(xmlName); } @Override public boolean has(String name, Scriptable start) { Context cx = Context.getCurrentContext(); return hasXMLProperty(lib.toXMLNameFromString(cx, name));