1 6 7 package test.wsdl.addrNoImplSEI; 8 9 import java.util.Hashtable ; 10 import java.util.Map ; 11 12 public class AddressBookNoImplSEISoapBindingImpl { 14 private Map addresses = new Hashtable (); 15 16 public void addEntry(java.lang.String name, test.wsdl.addrNoImplSEI.Address address) 17 throws java.rmi.RemoteException , 18 java.lang.IllegalArgumentException { 20 if (address == null) { 21 throw new java.lang.IllegalArgumentException (); 22 } 23 this.addresses.put(name, address); 24 } 25 public test.wsdl.addrNoImplSEI.Address getAddressFromName(java.lang.String name) 26 throws java.rmi.RemoteException , 27 javax.xml.rpc.JAXRPCException { 29 return (test.wsdl.addrNoImplSEI.Address) this.addresses.get(name); 30 } 31 32 public test.wsdl.addrNoImplSEI.Address[] getAddresses() throws java.rmi.RemoteException { 33 test.wsdl.addrNoImplSEI.Address[] array = new test.wsdl.addrNoImplSEI.Address[this.addresses.size()]; 34 this.addresses.values().toArray(array); 35 return array; 36 } 37 } 38 | Popular Tags |