org.wso2.javascript.xmlimpl
Class Namespace

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by org.mozilla.javascript.IdScriptableObject
          extended by org.wso2.javascript.xmlimpl.Namespace
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.IdFunctionCall, org.mozilla.javascript.Scriptable

public class Namespace
extends org.mozilla.javascript.IdScriptableObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
Namespace(XMLLibImpl lib, java.lang.String uriValue)
           
Namespace(XMLLibImpl lib, java.lang.String prefixValue, java.lang.String uriValue)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
protected  java.lang.Object equivalentValues(java.lang.Object value)
           
 java.lang.Object execIdCall(org.mozilla.javascript.IdFunctionObject f, org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args)
           
 void exportAsJSClass(boolean sealed)
           
protected  int findInstanceIdInfo(java.lang.String s)
           
protected  int findPrototypeId(java.lang.String s)
           
 java.lang.String getClassName()
           
protected  java.lang.String getInstanceIdName(int id)
           
protected  java.lang.Object getInstanceIdValue(int id)
           
protected  int getMaxInstanceId()
           
protected  void initPrototypeId(int id)
           
 java.lang.String prefix()
           
 java.lang.String toString()
           
 java.lang.String uri()
           
 
Methods inherited from class org.mozilla.javascript.IdScriptableObject
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, delete, exportAsJSClass, fillConstructorProperties, get, getAttributes, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdValue
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Namespace

public Namespace(XMLLibImpl lib,
                 java.lang.String uriValue)

Namespace

public Namespace(XMLLibImpl lib,
                 java.lang.String prefixValue,
                 java.lang.String uriValue)
Method Detail

exportAsJSClass

public void exportAsJSClass(boolean sealed)

getMaxInstanceId

protected int getMaxInstanceId()
Overrides:
getMaxInstanceId in class org.mozilla.javascript.IdScriptableObject

findInstanceIdInfo

protected int findInstanceIdInfo(java.lang.String s)
Overrides:
findInstanceIdInfo in class org.mozilla.javascript.IdScriptableObject

getInstanceIdName

protected java.lang.String getInstanceIdName(int id)
Overrides:
getInstanceIdName in class org.mozilla.javascript.IdScriptableObject

getInstanceIdValue

protected java.lang.Object getInstanceIdValue(int id)
Overrides:
getInstanceIdValue in class org.mozilla.javascript.IdScriptableObject

equivalentValues

protected java.lang.Object equivalentValues(java.lang.Object value)
Overrides:
equivalentValues in class org.mozilla.javascript.ScriptableObject

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

findPrototypeId

protected int findPrototypeId(java.lang.String s)
Overrides:
findPrototypeId in class org.mozilla.javascript.IdScriptableObject

initPrototypeId

protected void initPrototypeId(int id)
Overrides:
initPrototypeId in class org.mozilla.javascript.IdScriptableObject

execIdCall

public java.lang.Object execIdCall(org.mozilla.javascript.IdFunctionObject f,
                                   org.mozilla.javascript.Context cx,
                                   org.mozilla.javascript.Scriptable scope,
                                   org.mozilla.javascript.Scriptable thisObj,
                                   java.lang.Object[] args)
Specified by:
execIdCall in interface org.mozilla.javascript.IdFunctionCall
Overrides:
execIdCall in class org.mozilla.javascript.IdScriptableObject

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

uri

public java.lang.String uri()

prefix

public java.lang.String prefix()


Copyright © 2010 WSO2. All Rights Reserved.