tests.customext.elt
Class CustomElementSerializer

java.lang.Object
  extended by tests.customext.elt.CustomElementSerializer
All Implemented Interfaces:
org.apache.ws.commons.schema.extensions.ExtensionSerializer

public class CustomElementSerializer
extends java.lang.Object
implements org.apache.ws.commons.schema.extensions.ExtensionSerializer

Custom element serializer


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

Specified by:
serialize in interface org.apache.ws.commons.schema.extensions.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-2008 The Apache Software Foundation. All Rights Reserved.