tests.customext.elt
Class CustomElementSerializer

java.lang.Object
  extended by tests.customext.elt.CustomElementSerializer
All Implemented Interfaces:
ExtensionSerializer

public class CustomElementSerializer
extends Object
implements ExtensionSerializer

Custom element serializer


Constructor Summary
CustomElementSerializer()
           
 
Method Summary
 void serialize(XmlSchemaObject schemaObject, Class<?> classOfType, Node domNode)
          serialize the given element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomElementSerializer

public CustomElementSerializer()
Method Detail

serialize

public void serialize(XmlSchemaObject schemaObject,
                      Class<?> classOfType,
                      Node domNode)
serialize the given element

Specified by:
serialize in interface ExtensionSerializer
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-2015 The Apache Software Foundation. All Rights Reserved.