org.alfresco.repo.jscript
Class ScriptableQNameMap
java.lang.Object
org.alfresco.service.namespace.QNameMap
org.alfresco.repo.jscript.ScriptableQNameMap
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map, org.mozilla.javascript.Scriptable
- Direct Known Subclasses:
- ContentAwareScriptableQNameMap
public class ScriptableQNameMap
- extends org.alfresco.service.namespace.QNameMap
- implements org.mozilla.javascript.Scriptable
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry |
Fields inherited from class org.alfresco.service.namespace.QNameMap |
contents, logger, provider |
Fields inherited from interface org.mozilla.javascript.Scriptable |
NOT_FOUND |
Constructor Summary |
ScriptableQNameMap(org.alfresco.service.namespace.NamespacePrefixResolverProvider resolver)
|
Method Summary |
void |
delete(int index)
|
void |
delete(java.lang.String name)
|
java.lang.Object |
get(int index,
org.mozilla.javascript.Scriptable start)
|
java.lang.Object |
get(java.lang.String name,
org.mozilla.javascript.Scriptable start)
|
java.lang.String |
getClassName()
|
java.lang.Object |
getDefaultValue(java.lang.Class hint)
|
java.lang.Object[] |
getIds()
|
org.mozilla.javascript.Scriptable |
getParentScope()
|
org.mozilla.javascript.Scriptable |
getPrototype()
|
boolean |
has(int index,
org.mozilla.javascript.Scriptable start)
|
boolean |
has(java.lang.String name,
org.mozilla.javascript.Scriptable start)
|
boolean |
hasInstance(org.mozilla.javascript.Scriptable instance)
|
void |
put(int index,
org.mozilla.javascript.Scriptable start,
java.lang.Object value)
|
void |
put(java.lang.String name,
org.mozilla.javascript.Scriptable start,
java.lang.Object value)
|
void |
setParentScope(org.mozilla.javascript.Scriptable parent)
|
void |
setPrototype(org.mozilla.javascript.Scriptable prototype)
|
Methods inherited from class org.alfresco.service.namespace.QNameMap |
clear, clone, containsKey, containsValue, entrySet, get, getMapOfQNames, getResolver, isEmpty, keySet, put, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
ScriptableQNameMap
public ScriptableQNameMap(org.alfresco.service.namespace.NamespacePrefixResolverProvider resolver)
- Parameters:
resolver
-
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.getClassName()
get
public java.lang.Object get(java.lang.String name,
org.mozilla.javascript.Scriptable start)
- Specified by:
get
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.get(java.lang.String, org.mozilla.javascript.Scriptable)
get
public java.lang.Object get(int index,
org.mozilla.javascript.Scriptable start)
- Specified by:
get
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.get(int, org.mozilla.javascript.Scriptable)
has
public boolean has(java.lang.String name,
org.mozilla.javascript.Scriptable start)
- Specified by:
has
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.has(java.lang.String, org.mozilla.javascript.Scriptable)
has
public boolean has(int index,
org.mozilla.javascript.Scriptable start)
- Specified by:
has
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.has(int, org.mozilla.javascript.Scriptable)
put
public void put(java.lang.String name,
org.mozilla.javascript.Scriptable start,
java.lang.Object value)
- Specified by:
put
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)
put
public void put(int index,
org.mozilla.javascript.Scriptable start,
java.lang.Object value)
- Specified by:
put
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.put(int, org.mozilla.javascript.Scriptable, java.lang.Object)
delete
public void delete(java.lang.String name)
- Specified by:
delete
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.delete(java.lang.String)
delete
public void delete(int index)
- Specified by:
delete
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.delete(int)
getPrototype
public org.mozilla.javascript.Scriptable getPrototype()
- Specified by:
getPrototype
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.getPrototype()
setPrototype
public void setPrototype(org.mozilla.javascript.Scriptable prototype)
- Specified by:
setPrototype
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.setPrototype(org.mozilla.javascript.Scriptable)
getParentScope
public org.mozilla.javascript.Scriptable getParentScope()
- Specified by:
getParentScope
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.getParentScope()
setParentScope
public void setParentScope(org.mozilla.javascript.Scriptable parent)
- Specified by:
setParentScope
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.setParentScope(org.mozilla.javascript.Scriptable)
getIds
public java.lang.Object[] getIds()
- Specified by:
getIds
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.getIds()
getDefaultValue
public java.lang.Object getDefaultValue(java.lang.Class hint)
- Specified by:
getDefaultValue
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.getDefaultValue(java.lang.Class)
hasInstance
public boolean hasInstance(org.mozilla.javascript.Scriptable instance)
- Specified by:
hasInstance
in interface org.mozilla.javascript.Scriptable
- See Also:
Scriptable.hasInstance(org.mozilla.javascript.Scriptable)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.