public class ArtifactAstSerializerFactory extends Object
ArtifactAstSerializer or a ArtifactAstDeserializer instance in the
available ids/formats| Constructor and Description |
|---|
ArtifactAstSerializerFactory() |
ArtifactAstSerializerFactory(Executor executor,
boolean populateGenerationInformation) |
| Modifier and Type | Method and Description |
|---|---|
InternalArtifactAstDeserializer |
getDeserializer(String format,
String serializerVersion)
This method creates a new instance o an
ArtifactAstDeserializer matching the format and serializerVersion parameters |
ArtifactAstSerializer |
getSerializer(String format,
String serializerVersion)
This method creates a new instance of an
ArtifactAstSerializer matching the format parameter |
public static final String JSON
public ArtifactAstSerializerFactory()
public ArtifactAstSerializerFactory(Executor executor, boolean populateGenerationInformation)
public ArtifactAstSerializer getSerializer(String format, String serializerVersion) throws IllegalArgumentException
ArtifactAstSerializer matching the format parameterformat - the format in which the requested serializer serializes the
ArtifactAstserializerVersion - the desired serializer versionArtifactAstSerializer matching the formatIllegalArgumentException - if no ArtifactAstSerializer matching the format is foundpublic InternalArtifactAstDeserializer getDeserializer(String format, String serializerVersion) throws IllegalArgumentException
ArtifactAstDeserializer matching the format and serializerVersion parametersformat - the format which the requested deserializer should be able to deserialize in order to generate the
ArtifactAstserializerVersion - the desired version of the deserializerArtifactAstDeserializer matching the formatIllegalArgumentException - if no ArtifactAstDeserializer matching the format is foundCopyright © 2022 MuleSoft, Inc.. All rights reserved.