Package com.sun.xml.rpc.processor.util
Class ClientProcessorEnvironment
java.lang.Object
com.sun.xml.rpc.processor.util.ProcessorEnvironmentBase
com.sun.xml.rpc.processor.util.ClientProcessorEnvironment
- All Implemented Interfaces:
ProcessorEnvironment,ProcessorEnvironment
public class ClientProcessorEnvironment
extends ProcessorEnvironmentBase
implements ProcessorEnvironment
- Author:
- JAX-RPC Development Team
-
Field Summary
Fields inherited from class com.sun.xml.rpc.processor.util.ProcessorEnvironmentBase
classLoaderFields inherited from interface com.sun.xml.rpc.processor.util.ProcessorEnvironment
F_VERBOSE, F_WARNINGS -
Constructor Summary
ConstructorsConstructorDescriptionClientProcessorEnvironment(OutputStream out, String classPath, ProcessorNotificationListener listener) Create a ClientProcessorEnvironment with the given class path, stream for messages and ProcessorNotificationListener. -
Method Summary
Modifier and TypeMethodDescriptionvoidRemember info on generated source file generated so that it can be removed later, if appropriate.voidDelete all the generated source files made during the execution of this environment (those that have been registered with the "addGeneratedFile" method).voiderror(Localizable msg) Get the ClassPath.intintgetFlags()Get the environment flagsReturn all the generated files and its types.getNames()intvoidinfo(Localizable msg) voidvoidsetFlags(int flags) Set the environment flagsvoidvoidshutdown()Release resources, if any.booleanverbose()Is verbose turned onvoidwarn(Localizable msg) Methods inherited from class com.sun.xml.rpc.processor.util.ProcessorEnvironmentBase
fileToURL, getClassLoader, pathToURLsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.rpc.processor.util.ProcessorEnvironment
getClassLoader
-
Constructor Details
-
ClientProcessorEnvironment
public ClientProcessorEnvironment(OutputStream out, String classPath, ProcessorNotificationListener listener) Create a ClientProcessorEnvironment with the given class path, stream for messages and ProcessorNotificationListener.
-
-
Method Details
-
setFlags
public void setFlags(int flags) Set the environment flags- Specified by:
setFlagsin interfaceProcessorEnvironment
-
getFlags
public int getFlags()Get the environment flags- Specified by:
getFlagsin interfaceProcessorEnvironment
-
getClassPath
Get the ClassPath.- Specified by:
getClassPathin interfaceProcessorEnvironment
-
verbose
public boolean verbose()Is verbose turned on- Specified by:
verbosein interfaceProcessorEnvironment
-
addGeneratedFile
Remember info on generated source file generated so that it can be removed later, if appropriate.- Specified by:
addGeneratedFilein interfaceProcessorEnvironment
-
getGeneratedFiles
Return all the generated files and its types.- Specified by:
getGeneratedFilesin interfaceProcessorEnvironment
-
deleteGeneratedFiles
public void deleteGeneratedFiles()Delete all the generated source files made during the execution of this environment (those that have been registered with the "addGeneratedFile" method).- Specified by:
deleteGeneratedFilesin interfaceProcessorEnvironment
-
shutdown
public void shutdown()Release resources, if any.- Specified by:
shutdownin interfaceProcessorEnvironment
-
error
- Specified by:
errorin interfaceProcessorEnvironment
-
warn
- Specified by:
warnin interfaceProcessorEnvironment
-
info
- Specified by:
infoin interfaceProcessorEnvironment
-
printStackTrace
- Specified by:
printStackTracein interfaceProcessorEnvironment
-
getNames
- Specified by:
getNamesin interfaceProcessorEnvironment
-
getErrorCount
public int getErrorCount()- Specified by:
getErrorCountin interfaceProcessorEnvironment
-
getWarningCount
public int getWarningCount()- Specified by:
getWarningCountin interfaceProcessorEnvironment
-
setNames
-