java.lang.Object
org.mule.runtime.ast.internal.serialization.ArtifactAstSerializerMetadata

public class ArtifactAstSerializerMetadata extends Object
This class represents the information related to the serialization such as format and serializer version
  • Constructor Details

    • ArtifactAstSerializerMetadata

      public ArtifactAstSerializerMetadata(String serializerId, String serializerVersion, Charset charset)
      This class represents the information related to the serialization such as format and serializer version
      Parameters:
      serializerId - the id or format of the serializer
      serializerVersion - the version of the implementation of the ArtifactAstSerializer involved
      charset - the Charset used to encode the body when serializing
  • Method Details

    • getSerializerId

      public String getSerializerId()
      The serializer id is the format of the serialization
      Returns:
      a string identifying a format of serialization
    • getSerializerVersion

      public String getSerializerVersion()
      The serializer version represents the version of the implementation of a given serializer
      Returns:
      a version string
    • getCharset

      public Charset getCharset()
      The charset the input stream is encoded in
      Returns:
      a charset string