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 Type
    Method
    Description
    void
    serialize(XmlSchemaObject schemaObject, Class<?> classOfType, Node domNode)
    serialize the given element
  • Method Details

    • serialize

      void serialize(XmlSchemaObject schemaObject, Class<?> classOfType, Node domNode)
      serialize the given element
      Parameters:
      schemaObject - - Parent schema object.contains the extension to be serialized
      classOfType - - The class of type to be serialized
      domNode - - the parent DOM Node that will ultimately be serialized. The XMLSchema serialization mechanism is to create a DOM tree first and serialize it