Methods Summary |
---|
public void | add(java.lang.String name, java.lang.String className, java.lang.String type)Add an entry
list.add(new Entry(name, className, type));
|
public org.apache.axis.wsdl.toJava.GeneratedFileInfo$Entry | findClass(java.lang.String className)Lookup an entry by class name
// look at each entry for the type we want
for (Iterator i = list.iterator(); i.hasNext();) {
Entry e = (Entry) i.next();
if (e.className.equals(className)) {
return e;
}
}
return null;
|
public org.apache.axis.wsdl.toJava.GeneratedFileInfo$Entry | findName(java.lang.String fileName)Lookup an entry by file name
// look at each entry for the type we want
for (Iterator i = list.iterator(); i.hasNext();) {
Entry e = (Entry) i.next();
if (e.fileName.equals(fileName)) {
return e;
}
}
return null;
|
public java.util.List | findType(java.lang.String type)Lookup an entry by type.
Valid type values are:
stub, interface, complexType, enumType, fault, holder, skeleton,
skeletonImpl, service, deploy, undeploy, testCase
// look at each entry for the type we want
ArrayList ret = null;
for (Iterator i = list.iterator(); i.hasNext();) {
Entry e = (Entry) i.next();
if (e.type.equals(type)) {
if (ret == null) {
ret = new ArrayList();
}
ret.add(e);
}
}
return ret;
|
public java.util.List | getClassNames()Get the list of generated classes
// is there a better way to do this?
ArrayList ret = new ArrayList(list.size());
for (Iterator i = list.iterator(); i.hasNext();) {
Entry e = (Entry) i.next();
ret.add(e.className);
}
return ret;
|
public java.util.List | getFileNames()Get the list of generated filenames
// is there a better way to do this?
ArrayList ret = new ArrayList(list.size());
for (Iterator i = list.iterator(); i.hasNext();) {
Entry e = (Entry) i.next();
ret.add(e.fileName);
}
return ret;
|
public java.util.List | getList()Return the entire list of generated files
return list;
|
public java.lang.String | toString()Convert all entries in the list to a string
String s = "";
for (Iterator i = list.iterator(); i.hasNext();) {
Entry entry = (Entry) i.next();
s += entry.toString() + "\n";
}
return s;
|