Class XmlSerializer
- java.lang.Object
-
- io.adminshell.aas.v3.dataformat.xml.XmlSerializer
-
- All Implemented Interfaces:
Serializer
public class XmlSerializer extends Object implements Serializer
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.dataformat.xml.XmlMappermapperprotected Map<String,String>namespacePrefixes-
Fields inherited from interface io.adminshell.aas.v3.dataformat.Serializer
DEFAULT_CHARSET
-
-
Constructor Summary
Constructors Constructor Description XmlSerializer()XmlSerializer(Map<String,String> namespacePrefixes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.fasterxml.jackson.databind.module.SimpleModulebuildCustomSerializerModule()protected com.fasterxml.jackson.databind.module.SimpleModulebuildEnumModule()protected voidbuildMapper()Stringwrite(io.adminshell.aas.v3.model.AssetAdministrationShellEnvironment aasEnvironment)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.adminshell.aas.v3.dataformat.Serializer
write, write, write, write
-
-
-
-
Method Detail
-
buildMapper
protected void buildMapper()
-
buildCustomSerializerModule
protected com.fasterxml.jackson.databind.module.SimpleModule buildCustomSerializerModule()
-
buildEnumModule
protected com.fasterxml.jackson.databind.module.SimpleModule buildEnumModule()
-
write
public String write(io.adminshell.aas.v3.model.AssetAdministrationShellEnvironment aasEnvironment) throws SerializationException
- Specified by:
writein interfaceSerializer- Throws:
SerializationException
-
-