tests.customext.elt
Class CustomElementSerializer
java.lang.Object
tests.customext.elt.CustomElementSerializer
- All Implemented Interfaces:
- ExtensionSerializer
public class CustomElementSerializer
- extends Object
- implements ExtensionSerializer
Custom element serializer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomElementSerializer
public CustomElementSerializer()
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 serializedclassOfType
- - The class of type to be serializeddomNode
- - 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.