public class ExtendedFormXmlParser extends ExtendedXmlParser
ADD_REMOTE_REFERENCE, ATTR_ATRIBUTE, CONTAINER_ATRIBUTE, DEBUG, FORM_EXTENDS, INSERT_AFTER_OP, INSERT_BEFORE_OP, LEVELS_ATRIBUTE, MENU_EXTENDS, MODIFY_ATTRIBUTE, MODIFY_ATTRIBUTE_NAME, MODIFY_ATTRIBUTE_OPERATION, MODIFY_ATTRIBUTE_OPERATOR_ADD, MODIFY_ATTRIBUTE_OPERATOR_REMOVE, MODIFY_ATTRIBUTE_SEPARATOR, MODIFY_ATTRIBUTE_VALUE, MODIFY_FORM, MODIFY_REFERENCE_CLASS, MODIFY_REFERENCE_INIT, MODIFY_REFERENCE_MODIFY_CLASS, MODIFY_REFERENCE_MODIFY_INIT, MODIFY_REFERENCE_MODIFY_NAME, MODIFY_REFERENCE_NAME, MODIFY_REFERENCE_PARAMS, MODIFY_REFERENCE_PARAMS_VAL, MODIFY_REFERENCE_VALUE, MODIFY_REMOTE_REFERENCE, ORDER, REMOVE_OP, REMOVE_REMOTE_REFERENCE, REPLACE_OP, TOOLBAR_EXTENDS| Constructor and Description |
|---|
ExtendedFormXmlParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeOperation(Document originalForm,
ExtendedXmlOperation operation) |
protected Node |
searchNode(Node node,
String attr)
The method makes a deep search of a node the by attr attribute.
|
protected Node |
searchParentInLevel(Node node,
String parentType,
int level)
Recursive method that searches in a node an element of type parentType
and it´s in the exact level beginning the count of levels in the node.
|
checkNodeWithoutAttributes, extractOperationNodes, getDocumentModel, getExtendedDocument, getExtendedDocumentForm, getExtendedFile, getExtendedFile, getExtendedInput, getNodeOperation, isExtendedNode, parse, parseExtendedXml, printDocumentprotected void executeOperation(Document originalForm, ExtendedXmlOperation operation) throws Exception
executeOperation in class ExtendedXmlParserExceptionprotected Node searchParentInLevel(Node node, String parentType, int level)
node - The node in which search operation is made and in which the
search beginsparentType - Type of element to searchlevel - Number of elements of type parentType than exist before the
searched elementCopyright © 2016 Imatia Innovation S.L.. All rights reserved.