com.exadel.vpe.editor.template
Class VpeJspRootCreator
java.lang.Object
com.exadel.vpe.editor.template.VpeAbstractCreator
com.exadel.vpe.editor.template.VpeJspRootCreator
- All Implemented Interfaces:
- VpeCreator
- public class VpeJspRootCreator
- extends VpeAbstractCreator
|
Method Summary |
VpeCreatorInfo |
create(VpePageContext pageContext,
org.w3c.dom.Node sourceNode,
com.exadel.swt.internal.mozilla.nsIDOMDocument visualDocument,
com.exadel.swt.internal.mozilla.nsIDOMElement visualElement,
java.util.Map visualNodeMap)
Creates a node of the visual tree on the node of the source tree.
|
void |
removeAttribute(VpePageContext pageContext,
org.w3c.dom.Element sourceElement,
java.util.Map visualNodeMap,
java.lang.String name)
Informs on remove of attribute of the current source element. |
void |
setAttribute(VpePageContext pageContext,
org.w3c.dom.Element sourceElement,
java.util.Map visualNodeMap,
java.lang.String name,
java.lang.String value)
Sets value of attribute of the current visual element.
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public VpeCreatorInfo create(VpePageContext pageContext,
org.w3c.dom.Node sourceNode,
com.exadel.swt.internal.mozilla.nsIDOMDocument visualDocument,
com.exadel.swt.internal.mozilla.nsIDOMElement visualElement,
java.util.Map visualNodeMap)
- Description copied from class:
VpeAbstractCreator
- Creates a node of the visual tree on the node of the source tree.
This visual node should not have the parent node
This visual node can have child nodes.
- Specified by:
create in interface VpeCreator- Specified by:
create in class VpeAbstractCreator
- Parameters:
pageContext - Contains the information on edited page.sourceNode - The current node of the source tree.visualDocument - The document of the visual tree.visualElement - The current element of the visual tree.visualNodeMap - Is used for a storage padding information.
- Returns:
- The information on the created node of the visual tree.
setAttribute
public void setAttribute(VpePageContext pageContext,
org.w3c.dom.Element sourceElement,
java.util.Map visualNodeMap,
java.lang.String name,
java.lang.String value)
- Description copied from class:
VpeAbstractCreator
- Sets value of attribute of the current visual element.
Is invoked at change of attribute of an source element.
- Specified by:
setAttribute in interface VpeCreator- Overrides:
setAttribute in class VpeAbstractCreator
- Parameters:
pageContext - Contains the information on edited page.sourceElement - The current element of the source tree.visualNodeMap - Is used for a storage padding information.name - Attribute name.value - Attribute value.
removeAttribute
public void removeAttribute(VpePageContext pageContext,
org.w3c.dom.Element sourceElement,
java.util.Map visualNodeMap,
java.lang.String name)
- Description copied from class:
VpeAbstractCreator
- Informs on remove of attribute of the current source element.
- Specified by:
removeAttribute in interface VpeCreator- Overrides:
removeAttribute in class VpeAbstractCreator
- Parameters:
pageContext - Contains the information on edited page.sourceElement - The current element of the source tree.visualNodeMap - Is used for a storage padding information.name - Attribute name.