Package org.apache.axis.wsdl.toJava
Class GeneratedFileInfo
- java.lang.Object
-
- org.apache.axis.wsdl.toJava.GeneratedFileInfo
-
public class GeneratedFileInfo extends java.lang.ObjectFile info available after emit to describe what exactly was created by the Emitter.- Author:
- Tom Jordahl (tomj@macromedia.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGeneratedFileInfo.EntryStructure to hold entries.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayListlistField list
-
Constructor Summary
Constructors Constructor Description GeneratedFileInfo()Construct an empty file info list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String name, java.lang.String className, java.lang.String type)Add an entryGeneratedFileInfo.EntryfindClass(java.lang.String className)Lookup an entry by class nameGeneratedFileInfo.EntryfindName(java.lang.String fileName)Lookup an entry by file namejava.util.ListfindType(java.lang.String type)Lookup an entry by type.java.util.ListgetClassNames()Get the list of generated classesjava.util.ListgetFileNames()Get the list of generated filenamesjava.util.ListgetList()Return the entire list of generated filesjava.lang.StringtoString()Convert all entries in the list to a string
-
-
-
Method Detail
-
getList
public java.util.List getList()
Return the entire list of generated files- Returns:
-
add
public void add(java.lang.String name, java.lang.String className, java.lang.String type)Add an entry- Parameters:
name-className-type-
-
findType
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- Parameters:
type- of objects you want info about- Returns:
- A list of
org.apache.axis.wsdl.toJava.GeneratedFileInfo.Entryobjects. Null if no objects found.
-
findName
public GeneratedFileInfo.Entry findName(java.lang.String fileName)
Lookup an entry by file name- Parameters:
file- name you want info aboutfileName-- Returns:
- The entry for the file name specified. Null if not found
-
findClass
public GeneratedFileInfo.Entry findClass(java.lang.String className)
Lookup an entry by class name- Parameters:
class- name you want info aboutclassName-- Returns:
- The entry for the class specified. Null if not found
-
getClassNames
public java.util.List getClassNames()
Get the list of generated classes- Returns:
-
getFileNames
public java.util.List getFileNames()
Get the list of generated filenames- Returns:
-
toString
public java.lang.String toString()
Convert all entries in the list to a string- Overrides:
toStringin classjava.lang.Object- Returns:
-
-