org.apache.ws.commons.schema.extensions
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
 void serialize(XmlSchemaObject schemaObject, java.lang.Class classOfType, org.w3c.dom.Node domNode)
          serialize the given element
 

Method Detail

serialize

void serialize(XmlSchemaObject schemaObject,
               java.lang.Class classOfType,
               org.w3c.dom.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


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.