org.alfresco.repo.jscript
Class ContentAwareScriptableQNameMap
java.lang.Object
org.alfresco.service.namespace.QNameMap
org.alfresco.repo.jscript.ScriptableQNameMap
org.alfresco.repo.jscript.ContentAwareScriptableQNameMap
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map, org.mozilla.javascript.Scriptable
public class ContentAwareScriptableQNameMap
- extends ScriptableQNameMap
Specialised map class for supporting the initialisation of 'cm:content' properties for JavaScript API
objects. The JavaScript needs supporting objects to be initialised for certain data-types. If the
'cm:content' property is not already initialised then it must be created on demand or it will not be
available to the users of the API. See AR-1673.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry |
Fields inherited from interface org.mozilla.javascript.Scriptable |
NOT_FOUND |
Method Summary |
java.lang.Object |
get(java.lang.Object name)
|
Methods inherited from class org.alfresco.repo.jscript.ScriptableQNameMap |
delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype |
Methods inherited from class org.alfresco.service.namespace.QNameMap |
clear, clone, containsKey, containsValue, entrySet, 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 |
ContentAwareScriptableQNameMap
public ContentAwareScriptableQNameMap(ScriptNode factory,
ServiceRegistry services)
- Constructor
- Parameters:
factory
- Factory to provide further ScriptNode objectsservices
- ServiceRegistry
get
public java.lang.Object get(java.lang.Object name)
- Specified by:
get
in interface java.util.Map
- Overrides:
get
in class QNameMap
- See Also:
Map.get(java.lang.Object)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.