Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 16 package org.apache.juddi.datatype.response; 17 18 import java.util.Vector ; 19 20 import org.apache.juddi.datatype.RegistryObject; 21 22 25 public class PublisherInfos implements RegistryObject 26 { 27 Vector publisherInfoVector; 28 29 32 public PublisherInfos() 33 { 34 } 35 36 39 public PublisherInfos(int size) 40 { 41 this.publisherInfoVector = new Vector (size); 42 } 43 44 47 public void addPublisherInfo(PublisherInfo info) 48 { 49 if (info == null) 51 return; 52 53 if (this.publisherInfoVector == null) 54 this.publisherInfoVector = new Vector (); 55 this.publisherInfoVector.add(info); 56 } 57 58 61 public void setPublisherInfoVector(Vector infos) 62 { 63 this.publisherInfoVector = infos; 64 } 65 66 69 public Vector getPublisherInfoVector() 70 { 71 return this.publisherInfoVector; 72 } 73 74 77 public String toString() 78 { 79 StringBuffer buffer = new StringBuffer (); 80 81 if (this.publisherInfoVector != null) 82 for (int i=0; i<this.publisherInfoVector.size(); i++) 83 buffer.append(this.publisherInfoVector.elementAt(i)); 84 85 return buffer.toString(); 86 } 87 }
| Popular Tags
|