Package aas_core.aas3_0.reporting
Class Reporting
java.lang.Object
aas_core.aas3_0.reporting.Reporting
Provide reporting for de/serialization and verification.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresent an error during the deserialization or the verification.static classstatic classstatic classCapture a path segment of a value in a model. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenerateJsonPath(Collection<Reporting.Segment> segments) Generate a JSON Path based on the path segments.static StringgenerateRelativeXPath(Collection<Reporting.Segment> segments) Generate a relative XPath based on the path segments.
-
Constructor Details
-
Reporting
public Reporting()
-
-
Method Details
-
generateJsonPath
Generate a JSON Path based on the path segments.See, for example, this page for more information on JSON path: https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html
-
generateRelativeXPath
Generate a relative XPath based on the path segments.This method leaves out the leading slash ('/'). This is helpful if to embed the error report in a larger document with a prefix etc.
-