Package uk.co.real_logic.sbe.xml
Class SchemaTransformerFactory
java.lang.Object
uk.co.real_logic.sbe.xml.SchemaTransformerFactory
- All Implemented Interfaces:
SchemaTransformer
Entry point for schema transformations, will check all incoming configuration/properties and create the appropriate
transformers as required.
-
Field Summary
Fields inherited from interface uk.co.real_logic.sbe.xml.SchemaTransformer
IDENTITY_TRANSFORMER -
Constructor Summary
ConstructorsConstructorDescriptionSchemaTransformerFactory(String schemaTransformConfig) Construct the SchemaTransformerFactory with the specified configuration for filtering the messages and types by version. -
Method Summary
Modifier and TypeMethodDescriptiontransform(MessageSchema originalSchema) Return a new MessageSchema that has been transformed from the original.
-
Constructor Details
-
SchemaTransformerFactory
Construct the SchemaTransformerFactory with the specified configuration for filtering the messages and types by version.- Parameters:
schemaTransformConfig- configuration for the sinceVersion transformation- See Also:
-
-
Method Details
-
transform
Return a new MessageSchema that has been transformed from the original.- Specified by:
transformin interfaceSchemaTransformer- Parameters:
originalSchema- to be transformed- Returns:
- resulting transformed schema.
-