Class ArtifactAstSerializerMetadata
java.lang.Object
org.mule.runtime.ast.internal.serialization.ArtifactAstSerializerMetadata
This class represents the information related to the serialization such as format and serializer version
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactAstSerializerMetadata(String serializerId, String serializerVersion, Charset charset) This class represents the information related to the serialization such as format and serializer version -
Method Summary
Modifier and TypeMethodDescriptionThe charset the input stream is encoded inThe serializer id is the format of the serializationThe serializer version represents the version of the implementation of a given serializer
-
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 serializerserializerVersion- the version of the implementation of theArtifactAstSerializerinvolvedcharset- theCharsetused to encode the body when serializing
-
-
Method Details
-
getSerializerId
The serializer id is the format of the serialization- Returns:
- a string identifying a format of serialization
-
getSerializerVersion
The serializer version represents the version of the implementation of a given serializer- Returns:
- a version string
-
getCharset
The charset the input stream is encoded in- Returns:
- a charset string
-