Class ContentAwareScriptableQNameMap<K,​V>

  • All Implemented Interfaces:
    Serializable, Cloneable, Map, org.mozilla.javascript.Scriptable

    public class ContentAwareScriptableQNameMap<K,​V>
    extends ScriptableQNameMap<K,​V>
    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.
    Author:
    Kevin Roast
    See Also:
    Serialized Form
    • Constructor Detail

      • ContentAwareScriptableQNameMap

        public ContentAwareScriptableQNameMap​(ScriptNode factory,
                                              ServiceRegistry services)
        Constructor
        Parameters:
        factory - Factory to provide further ScriptNode objects
        services - ServiceRegistry