org.apache.axis.wsdl.toJava

Class 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

class
GeneratedFileInfo.Entry
Structure to hold entries.

Field Summary

protected ArrayList
list
Field list

Constructor Summary

GeneratedFileInfo()
Construct an empty file info list.

Method Summary

void
add(String name, String className, String type)
Add an entry
GeneratedFileInfo.Entry
findClass(String className)
Lookup an entry by class name
GeneratedFileInfo.Entry
findName(String fileName)
Lookup an entry by file name
List
findType(String type)
Lookup an entry by type.
List
getClassNames()
Get the list of generated classes
List
getFileNames()
Get the list of generated filenames
List
getList()
Return the entire list of generated files
String
toString()
Convert all entries in the list to a string

Field Details

list

protected ArrayList list
Field list

Constructor Details

GeneratedFileInfo

public GeneratedFileInfo()
Construct an empty file info list.

Method Details

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:
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:
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.