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