Converter.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final Set | |
| private static final String | |
| private final DocumentBuilderFactory | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | convert(Path
the source file eventsXmlFile, Path the target file hierarchicalXmlFile)Implements org. Convert the supplied event-based report into the hierarchical format. |
| public Document | |
| private void | |
| private void | |
| private void | |
| private static Namespace | |
| private Optional | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| CHILD_NODE_NAME | back to summary |
|---|---|
| private static final String CHILD_NODE_NAME | |
| DURATION_ATTRIBUTE_NAME | back to summary |
|---|---|
| private static final String DURATION_ATTRIBUTE_NAME | |
| EVENT_ONLY_ATTRIBUTES | back to summary |
|---|---|
| private static final Set<String> EVENT_ONLY_ATTRIBUTES | |
| EXECUTION_NODE_NAME | back to summary |
|---|---|
| private static final String EXECUTION_NODE_NAME | |
| factory | back to summary |
|---|---|
| private final DocumentBuilderFactory factory | |
| HIERARCHY_PREFIX | back to summary |
|---|---|
| private static final String HIERARCHY_PREFIX | |
| ROOT_NODE_NAME | back to summary |
|---|---|
| private static final String ROOT_NODE_NAME | |
| START_ATTRIBUTE_NAME | back to summary |
|---|---|
| private static final String START_ATTRIBUTE_NAME | |
| DefaultConverter | back to summary |
|---|---|
| public DefaultConverter() Create a new instance. | |
| convert | back to summary |
|---|---|
| public void convert(Path eventsXmlFile, Path hierarchicalXmlFile) throws Exception Implements org. Doc from org. Convert the supplied event-based report into the hierarchical format. | |
| convert | back to summary |
|---|---|
| public Document convert(Node sourceRoot) throws Exception Convert the supplied event-based report into the hierarchical format. | |
| copyAttributes | back to summary |
|---|---|
| private void copyAttributes(Node sourceNode, Node targetNode, BiPredicate<String, String> filter) | |
| copyChildren | back to summary |
|---|---|
| private void copyChildren(Node sourceElement, Node targetElement) | |
| createRootElement | back to summary |
|---|---|
| private void createRootElement(Node sourceRoot, Document targetDocument, Namespace targetNamespace) | |
| determineTargetNamespace | back to summary |
|---|---|
| private static Namespace determineTargetNamespace(Node sourceRoot) | |
| findNode | back to summary |
|---|---|
| private Optional | |
| finished | back to summary |
|---|---|
| private void finished(Map<String, Element> nodeById, Element sourceElement) | |
| infrastructure | back to summary |
|---|---|
| private void infrastructure(Document targetDocument, Element sourceElement) | |
| mergeChildren | back to summary |
|---|---|
| private void mergeChildren(Node sourceElement, Node targetElement) | |
| moveChildrenToEnd | back to summary |
|---|---|
| private void moveChildrenToEnd(Element targetElement) | |
| reported | back to summary |
|---|---|
| private void reported(Map<String, Element> nodeById, Element sourceElement) | |
| started | back to summary |
|---|---|
| private void started(Document targetDocument, Map<String, Element> nodeById, Element sourceElement, Namespace targetNamespace) | |