Interface ExtensionSerializer
- All Known Implementing Classes:
DefaultExtensionSerializer
public interface ExtensionSerializer
Interface for the extension serializer. The purpose of an instance of this is to serialize the relevant
custom object and generate attribute/elementa desired . This custom object may be stored in the metadata
map of the parent schema object. When to invoke a given serializer is a decision taken by the extension
registry
-
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(XmlSchemaObject schemaObject, Class<?> classOfType, Node domNode) serialize the given element
-
Method Details
-
serialize
serialize the given element- Parameters:
schemaObject- - Parent schema object.contains the extension to be serializedclassOfType- - The class of type to be serializeddomNode- - the parent DOM Node that will ultimately be serialized. The XMLSchema serialization mechanism is to create a DOM tree first and serialize it
-