com.ibm.designer.domino.xsp.api.published
Class XSPNodeData
java.lang.Object
com.ibm.designer.domino.scripting.data.AbstractScriptData
com.ibm.designer.domino.xsp.api.published.XSPNodeData
- All Implemented Interfaces:
- IScriptData
public class XSPNodeData
- extends AbstractScriptData
Implementation of an script data map for a particular XSP node.
Method Summary |
protected void |
addObjectsToMap(java.util.Map<java.lang.String,IScriptData.PublishedObject> map)
Adds PublishedObjects to the given map. |
protected void |
addPrototypesToMap(java.util.Map<java.lang.String,com.ibm.xsp.javascript.XSPFunctions> map)
Allows subclasses to add libraries to the reference tab in the JS Editor. |
boolean |
isPageData()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSPNodeData
public XSPNodeData(org.w3c.dom.Node node)
- Constructs a new instance of this class.
- Parameters:
node
- the XPage DOM node that this object will represent
XSPNodeData
public XSPNodeData(IPanelExtraData data)
- Consturcts a new instance of this class.
- Parameters:
data
- the IPanelExtraData object that has a reference to the currently selected XPages DOM node
addObjectsToMap
protected void addObjectsToMap(java.util.Map<java.lang.String,IScriptData.PublishedObject> map)
- Description copied from class:
AbstractScriptData
- Adds PublishedObjects to the given map. Provides
PublishedObjectProvider
s with the opportunity
to contribute to the JS editor. Items added to the map via addObjectsToMap
will be added to the
reference tab of the JS Editor.
- Overrides:
addObjectsToMap
in class AbstractScriptData
addPrototypesToMap
protected void addPrototypesToMap(java.util.Map<java.lang.String,com.ibm.xsp.javascript.XSPFunctions> map)
- Description copied from class:
AbstractScriptData
- Allows subclasses to add libraries to the reference tab in the JS Editor.
- Specified by:
addPrototypesToMap
in class AbstractScriptData
- Parameters:
map
- a map containing the name of the library as the key, and a list of functions
as the key.
isPageData
public boolean isPageData()
- Specified by:
isPageData
in interface IScriptData
- Overrides:
isPageData
in class AbstractScriptData
- Returns:
- true or false depending on whether or not this data object is created based on data in an XPage