1 19 20 package org.netbeans.modules.websvc.registry.model; 21 22 import java.beans.DefaultPersistenceDelegate ; 23 import java.beans.Encoder ; 24 25 29 public class WebServiceDataPersistenceDelegate extends DefaultPersistenceDelegate { 30 31 32 public WebServiceDataPersistenceDelegate() { 33 } 34 35 38 public void writeObject(Object oldInstance, Encoder out) { 39 if(oldInstance.getClass().getName().startsWith("javax.xml.namespace.QName") ) { 40 return; 41 } 42 else if(oldInstance.getClass().getName().startsWith("com.sun.xml.rpc.wsdl.document.soap.SOAPStyle")){ 43 return; 44 } 45 else if(oldInstance.getClass().getName().startsWith("com.sun.xml.rpc.wsdl.document.soap.SOAPUse")){ 46 return; 47 }else { 48 super.writeObject(oldInstance,out); 49 } 50 51 } 52 53 54 } 55 | Popular Tags |