public class SchemaSerializer extends java.lang.Object implements ExtensionSerializer
| Constructor and Description |
|---|
SchemaSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
marshall(java.lang.Class parentType,
QName elementType,
ExtensibilityElement extension,
java.io.PrintWriter pw,
Definition def,
ExtensionRegistry extReg)
This method serializes extension-specific instances of
ExtensibilityElement into the PrintWriter.
|
public void marshall(java.lang.Class parentType,
QName elementType,
ExtensibilityElement extension,
java.io.PrintWriter pw,
Definition def,
ExtensionRegistry extReg)
throws WSDLException
ExtensionSerializermarshall in interface ExtensionSerializerparentType - 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)WSDLException