com.ibm.wsdl.extensions.schema
Class SchemaSerializer
java.lang.Object
com.ibm.wsdl.extensions.schema.SchemaSerializer
- All Implemented Interfaces:
- java.io.Serializable, ExtensionSerializer
public class SchemaSerializer
- extends java.lang.Object
- implements ExtensionSerializer, java.io.Serializable
This class is used to serialize Schema instances
into the PrintWriter.
- Author:
- Jeremy Hughes
- See Also:
SchemaImpl
,
SchemaDeserializer
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
SchemaSerializer
public SchemaSerializer()
marshall
public void marshall(java.lang.Class parentType,
QName elementType,
ExtensibilityElement extension,
java.io.PrintWriter pw,
Definition def,
ExtensionRegistry extReg)
throws WSDLException
- Description copied from interface:
ExtensionSerializer
- This method serializes extension-specific instances of
ExtensibilityElement into the PrintWriter.
- Specified by:
marshall
in interface ExtensionSerializer
- Parameters:
parentType
- a class object indicating where in the WSDL
definition this extension was encountered. For
example, javax.wsdl.Binding.class would be used to indicate
this extensibility element was found in the list of
extensibility elements belonging to a javax.wsdl.Binding.elementType
- the qname of the extensibility elementextension
- the extensibility element to serializedef
- the definition this extensibility element was
encountered inextReg
- the ExtensionRegistry to use (if needed again)
- Throws:
WSDLException
Copyright ? 2003,2006 IBM. All Rights Reserved.