tests.customext.attrib
Class CustomAttributeSerializer

java.lang.Object
  extended by tests.customext.attrib.CustomAttributeSerializer
All Implemented Interfaces:
ExtensionSerializer

public class CustomAttributeSerializer
extends Object
implements ExtensionSerializer

serializer for the custom attribute


Constructor Summary
CustomAttributeSerializer()
           
 
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

CustomAttributeSerializer

public CustomAttributeSerializer()
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.