Class Collector
java.lang.Object
de.iip_ecosphere.platform.configuration.opcua.parser.Collector
Information collector for OPC UA companion spec files and IVML files.
- Author:
- Jan-Hendrik Cepok, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcollectInformation(String fileName, NodeList objectTypeList, NodeList objectList, NodeList variableList, NodeList methodList, NodeList dataTypeList, NodeList variableTypeList, ArrayList<BaseType> hierarchy, int reqModels) Collects the information parameters.private static ElementgetNextNodeElement(NodeList nodes, int iterator) Returns the next node.static voidTransfers collected information to excel.
-
Field Details
-
collection
-
modelCounter
private static int modelCounter
-
-
Constructor Details
-
Collector
public Collector()
-
-
Method Details
-
getNextNodeElement
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(String fileName, NodeList objectTypeList, NodeList objectList, NodeList variableList, NodeList methodList, NodeList dataTypeList, NodeList variableTypeList, 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.
-