Class Collector
- java.lang.Object
-
- de.iip_ecosphere.platform.configuration.opcua.parser.Collector
-
public class Collector extends java.lang.ObjectInformation collector for OPC UA companion spec files and IVML files.- Author:
- Jan-Hendrik Cepok, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<java.lang.String,java.lang.Object[]>collectionprivate static intmodelCounter
-
Constructor Summary
Constructors Constructor Description Collector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcollectInformation(java.lang.String fileName, org.w3c.dom.NodeList objectTypeList, org.w3c.dom.NodeList objectList, org.w3c.dom.NodeList variableList, org.w3c.dom.NodeList methodList, org.w3c.dom.NodeList dataTypeList, org.w3c.dom.NodeList variableTypeList, java.util.ArrayList<BaseType> hierarchy, int reqModels)Collects the information parameters.private static org.w3c.dom.ElementgetNextNodeElement(org.w3c.dom.NodeList nodes, int iterator)Returns the next node.static voidinformationToExcel()Transfers collected information to excel.
-
-
-
Method Detail
-
getNextNodeElement
private static org.w3c.dom.Element getNextNodeElement(org.w3c.dom.NodeList nodes, int iterator)Returns the next node.- Parameters:
nodes- the nodes to take the node fromiterator- the position/iterator- Returns:
- the node, may be null
-
collectInformation
public static void collectInformation(java.lang.String fileName, org.w3c.dom.NodeList objectTypeList, org.w3c.dom.NodeList objectList, org.w3c.dom.NodeList variableList, org.w3c.dom.NodeList methodList, org.w3c.dom.NodeList dataTypeList, org.w3c.dom.NodeList variableTypeList, java.util.ArrayList<BaseType> hierarchy, int reqModels)Collects the information parameters.- Parameters:
fileName- the nodeset file nameobjectTypeList- the already parsed object type listobjectList- the already parsed object listvariableList- the already parsed variable listmethodList- the already parsed method listdataTypeList- the already parsed data type listvariableTypeList- the already parsed variable type listhierarchy- the base type hierarchyreqModels- the number of required models
-
informationToExcel
public static void informationToExcel()
Transfers collected information to excel.
-
-