public class UnknownExtensionSerializer extends Object implements ExtensionSerializer
Copied from WSDL4J.
UnknownExtensionElement
,
UnknownExtensionDeserializer
Constructor and Description |
---|
UnknownExtensionSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
marshall(Class parentType,
QName elementType,
ExtensionElement extension,
PrintWriter pw,
DescriptionElement desc,
ExtensionRegistry extReg)
This method serializes extension-specific instances of
ExtensibilityElement into the PrintWriter.
|
public void marshall(Class parentType, QName elementType, ExtensionElement extension, PrintWriter pw, DescriptionElement desc, ExtensionRegistry extReg) throws WSDLException
ExtensionSerializer
marshall
in interface ExtensionSerializer
parentType
- a class object indicating where in the WSDL
definition this extension was encountered. For
example, org.apache.woden.Binding.class would be used to indicate
this extensibility element was found in the list of
extensibility elements belonging to a org.apache.woden.Binding.elementType
- the qname of the extensibility elementextension
- the extensibility element to serializepw
- the print writer on which to serialize the extensiondesc
- the description element this extensibility element was
encountered inextReg
- the ExtensionRegistry to use (if needed again)WSDLException
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.