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
classLoader
-
Fields inherited from interface com.sun.xml.rpc.processor.util.ProcessorEnvironment
F_VERBOSE, F_WARNINGS
-
-
Constructor Summary
Constructors Constructor Description ClientProcessorEnvironment(OutputStream out, String classPath, ProcessorNotificationListener listener)Create a ClientProcessorEnvironment with the given class path, stream for messages and ProcessorNotificationListener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGeneratedFile(GeneratedFileInfo file)Remember info on generated source file generated so that it can be removed later, if appropriate.voiddeleteGeneratedFiles()Delete all the generated source files made during the execution of this environment (those that have been registered with the "addGeneratedFile" method).voiderror(Localizable msg)StringgetClassPath()Get the ClassPath.intgetErrorCount()intgetFlags()Get the environment flagsIteratorgetGeneratedFiles()Return all the generated files and its types.NamesgetNames()intgetWarningCount()voidinfo(Localizable msg)voidprintStackTrace(Throwable t)voidsetFlags(int flags)Set the environment flagsvoidsetNames(Names names)voidshutdown()Release resources, if any.booleanverbose()Is verbose turned onvoidwarn(Localizable msg)-
Methods inherited from class com.sun.xml.rpc.processor.util.ProcessorEnvironmentBase
fileToURL, getClassLoader, pathToURLs
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.rpc.processor.util.ProcessorEnvironment
getClassLoader
-
-
-
-
Constructor Detail
-
ClientProcessorEnvironment
public ClientProcessorEnvironment(OutputStream out, String classPath, ProcessorNotificationListener listener)
Create a ClientProcessorEnvironment with the given class path, stream for messages and ProcessorNotificationListener.
-
-
Method Detail
-
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
public String getClassPath()
Get the ClassPath.- Specified by:
getClassPathin interfaceProcessorEnvironment
-
verbose
public boolean verbose()
Is verbose turned on- Specified by:
verbosein interfaceProcessorEnvironment
-
addGeneratedFile
public void addGeneratedFile(GeneratedFileInfo file)
Remember info on generated source file generated so that it can be removed later, if appropriate.- Specified by:
addGeneratedFilein interfaceProcessorEnvironment
-
getGeneratedFiles
public Iterator 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
public void error(Localizable msg)
- Specified by:
errorin interfaceProcessorEnvironment
-
warn
public void warn(Localizable msg)
- Specified by:
warnin interfaceProcessorEnvironment
-
info
public void info(Localizable msg)
- Specified by:
infoin interfaceProcessorEnvironment
-
printStackTrace
public void printStackTrace(Throwable t)
- Specified by:
printStackTracein interfaceProcessorEnvironment
-
getNames
public Names getNames()
- Specified by:
getNamesin interfaceProcessorEnvironment
-
getErrorCount
public int getErrorCount()
- Specified by:
getErrorCountin interfaceProcessorEnvironment
-
getWarningCount
public int getWarningCount()
- Specified by:
getWarningCountin interfaceProcessorEnvironment
-
setNames
public void setNames(Names names)
-
-