Package org.apache.axis.wsdl.toJava
Class GeneratedFileInfo
- java.lang.Object
-
- org.apache.axis.wsdl.toJava.GeneratedFileInfo
-
public class GeneratedFileInfo extends java.lang.Object
File 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 class
GeneratedFileInfo.Entry
Structure to hold entries.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayList
list
Field 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 void
add(java.lang.String name, java.lang.String className, java.lang.String type)
Add an entryGeneratedFileInfo.Entry
findClass(java.lang.String className)
Lookup an entry by class nameGeneratedFileInfo.Entry
findName(java.lang.String fileName)
Lookup an entry by file namejava.util.List
findType(java.lang.String type)
Lookup an entry by type.java.util.List
getClassNames()
Get the list of generated classesjava.util.List
getFileNames()
Get the list of generated filenamesjava.util.List
getList()
Return the entire list of generated filesjava.lang.String
toString()
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.Entry
objects. 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:
toString
in classjava.lang.Object
- Returns:
-
-