Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * (c) Copyright IBM Corp 2001, 2006 
  */
 
 package javax.wsdl.extensions;
 
 import java.io.*;
 import javax.wsdl.*;
This class is used to serialize UnknownExtensibilityElement instances into the PrintWriter.

Author(s):
Matthew J. Duftler (duftler@us.ibm.com)
See also:
UnknownExtensibilityElement
UnknownExtensionDeserializer
                                                   Serializable
  public static final long serialVersionUID = 1;
  public void marshall(Class parentType,
                       QName elementType,
                       ExtensibilityElement extension,
                       PrintWriter pw,
                       Definition def,
                       ExtensionRegistry extReg)
                         throws WSDLException
  {
    UnknownExtensibilityElement unknownExt =
      (UnknownExtensibilityElement)extension;
    pw.print("    ");
    DOM2Writer.serializeAsXML(unknownExt.getElement(), def.getNamespaces(), pw);
    pw.println();
  }
New to GrepCode? Check out our FAQ X