com.ontimize.util.extend
Class ExtendedMenuXmlParser
java.lang.Object
com.ontimize.util.extend.ExtendedXmlParser
com.ontimize.util.extend.ExtendedFormXmlParser
com.ontimize.util.extend.ExtendedMenuXmlParser
- public class ExtendedMenuXmlParser
- extends ExtendedFormXmlParser
| Fields inherited from class com.ontimize.util.extend.ExtendedXmlParser |
ATTR_ATRIBUTE, CONTAINER_ATRIBUTE, DEBUG, FORM_EXTENDS, INSERT_AFTER_OP, INSERT_BEFORE_OP, LEVELS_ATRIBUTE, MENU_EXTENDS, REMOVE_OP, REPLACE_OP, TOOLBAR_EXTENDS |
|
Method Summary |
protected void |
executeOperation(org.w3c.dom.Document originalForm,
ExtendedXmlOperation operation)
This method extends functionality of super method adding
REMOVE_SEPARATOR_OP. |
protected ExtendedXmlOperation |
getNodeOperation(org.w3c.dom.Node node)
Extends super method to add REMOVE_SEPARATOR_OP functionality |
protected boolean |
isExtendedNode(org.w3c.dom.Node node)
The REMOVE_SEPARATOR_OP is an extend operation too |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REMOVE_SEPARATOR_OP
public static final java.lang.String REMOVE_SEPARATOR_OP
- See Also:
- Constant Field Values
POSITION_ATRIBUTE
public static final java.lang.String POSITION_ATRIBUTE
- See Also:
- Constant Field Values
MENU_SEPARATOR
public static final java.lang.String MENU_SEPARATOR
- See Also:
- Constant Field Values
TOOLBAR_SEPARATOR
public static final java.lang.String TOOLBAR_SEPARATOR
- See Also:
- Constant Field Values
MENU_ELEMENT
public static final java.lang.String MENU_ELEMENT
- See Also:
- Constant Field Values
TOOLBAR_ELEMENT
public static final java.lang.String TOOLBAR_ELEMENT
- See Also:
- Constant Field Values
ExtendedMenuXmlParser
public ExtendedMenuXmlParser()
executeOperation
protected void executeOperation(org.w3c.dom.Document originalForm,
ExtendedXmlOperation operation)
throws java.lang.Exception
- This method extends functionality of super method adding
REMOVE_SEPARATOR_OP. This operation removes the element
or without attr in original Xml
- Overrides:
executeOperation in class ExtendedFormXmlParser
- Throws:
java.lang.Exception
getNodeOperation
protected ExtendedXmlOperation getNodeOperation(org.w3c.dom.Node node)
throws java.lang.Exception
- Extends super method to add REMOVE_SEPARATOR_OP functionality
- Overrides:
getNodeOperation in class ExtendedXmlParser
- Parameters:
node - The node of operation
- Returns:
- An instance of class XmlExtendsOperation
- Throws:
java.lang.Exception
isExtendedNode
protected boolean isExtendedNode(org.w3c.dom.Node node)
- The REMOVE_SEPARATOR_OP is an extend operation too
- Overrides:
isExtendedNode in class ExtendedXmlParser
- Parameters:
node - the node to checl
- Returns:
- true or falsse