org.apache.axis.wsdl.toJava

Class GeneratedFileInfo

public class GeneratedFileInfo extends Object

File info available after emit to describe what exactly was created by the Emitter.

Author: Tom Jordahl (tomj@macromedia.com)

Nested Class Summary
classGeneratedFileInfo.Entry
Structure to hold entries.
Field Summary
protected ArrayListlist
Field list
Constructor Summary
GeneratedFileInfo()
Construct an empty file info list.
Method Summary
voidadd(String name, String className, String type)
Add an entry
GeneratedFileInfo.EntryfindClass(String className)
Lookup an entry by class name
GeneratedFileInfo.EntryfindName(String fileName)
Lookup an entry by file name
ListfindType(String type)
Lookup an entry by type.
ListgetClassNames()
Get the list of generated classes
ListgetFileNames()
Get the list of generated filenames
ListgetList()
Return the entire list of generated files
StringtoString()
Convert all entries in the list to a string

Field Detail

list

protected ArrayList list
Field list

Constructor Detail

GeneratedFileInfo

public GeneratedFileInfo()
Construct an empty file info list.

Method Detail

add

public void add(String name, String className, String type)
Add an entry

Parameters: name className type

findClass

public GeneratedFileInfo.Entry findClass(String className)
Lookup an entry by class name

Parameters: class name you want info about className

Returns: The entry for the class specified. Null if not found

findName

public GeneratedFileInfo.Entry findName(String fileName)
Lookup an entry by file name

Parameters: file name you want info about fileName

Returns: The entry for the file name specified. Null if not found

findType

public List findType(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.

getClassNames

public List getClassNames()
Get the list of generated classes

Returns:

getFileNames

public List getFileNames()
Get the list of generated filenames

Returns:

getList

public List getList()
Return the entire list of generated files

Returns:

toString

public String toString()
Convert all entries in the list to a string

Returns:

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.