use of io.adminshell.aas.v3.dataformat.aml.AmlDeserializer in project FAAAST-Service by FraunhoferIOSB.
the class AASEnvironmentFactory method initDeserializer.
private void initDeserializer() {
// TODO: AASX Deserializer seems to be a little bit different since it needs an input in constructor
deserializer = new HashMap<>();
deserializer.put("JSON", new JsonDeserializer());
deserializer.put("AML", new AmlDeserializer());
deserializer.put("XML", new XmlDeserializer());
deserializer.put("I4AAS/OPC UA Nodeset", new I4AASDeserializer());
deserializer.put("RDF", new io.adminshell.aas.v3.dataformat.rdf.Serializer());
deserializer.put("JSON-LD", new io.adminshell.aas.v3.dataformat.jsonld.Serializer());
}
use of io.adminshell.aas.v3.dataformat.aml.AmlDeserializer in project FAAAST-Service by FraunhoferIOSB.
the class StarterTest method testGetAASEnvironmentFromFileAML.
@Test
@Ignore
public void testGetAASEnvironmentFromFileAML() throws IOException, DeserializationException, Exception {
String filePath = "src/test/resources/AASFull.aml";
testAASEnvironment(filePath, new AmlDeserializer());
}
Aggregations