Package com.sun.xml.rpc.tools.wscompile
Class CompileTool
java.lang.Object
com.sun.xml.rpc.util.ToolBase
com.sun.xml.rpc.tools.wscompile.CompileTool
- All Implemented Interfaces:
ProcessorNotificationListener,CompileTool
- Direct Known Subclasses:
EndpointClientCompileTool,EndpointCompileTool
- Author:
- JAX-RPC Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Mapprotected booleanprotected booleanprotected Fileprotected Configurationprotected Fileprotected CompileToolDelegateprotected Fileprotected booleanprotected booleanprotected booleanprotected booleanprotected ProcessorEnvironmentprotected booleanprotected booleanprotected booleanprotected booleanprotected ProcessorNotificationListenerprotected intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected Fileprotected booleanprotected booleanprotected booleanprotected Fileprotected booleanprotected booleanprotected Processorprotected Propertiesprotected booleanprotected booleanprotected booleanprotected booleanprotected Stringprotected Fileprotected booleanprotected Stringprotected booleanprotected booleanprotected booleanprotected Stringprotected booleanprotected booleanprotected booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected Stringprotected Configurationprotected ProcessorEnvironmentprotected ProcessorActionprotected Stringprotected Stringprotected Stringprotected voidhelp()protected voidvoidonError(Localizable msg) voidonInfo(Localizable msg) voidonWarning(Localizable msg) protected booleanparseArguments(String[] args) voidprotected voidregisterProcessorActions(Processor processor) voidprotected voidvoidrun()Which one should we use? run() or run(String args[]).voidsetDelegate(CompileToolDelegate delegate) protected voidprotected voidusage()booleanprotected voidMethods inherited from class com.sun.xml.rpc.util.ToolBase
getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, report, report, runMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.rpc.spi.tools.CompileTool
run
-
Field Details
-
properties
-
environment
-
configuration
-
processor
-
listener
-
actions
-
delegate
-
configFile
-
modelFile
-
sourceDir
-
destDir
-
nonclassDestDir
-
debugModelFile
-
mode
protected int mode -
doNothing
protected boolean doNothing -
compilerDebug
protected boolean compilerDebug -
compilerOptimize
protected boolean compilerOptimize -
verbose
protected boolean verbose -
noDataBinding
protected boolean noDataBinding -
noEncodedTypes
protected boolean noEncodedTypes -
noMultiRefEncoding
protected boolean noMultiRefEncoding -
noValidation
protected boolean noValidation -
explicitServiceContext
protected boolean explicitServiceContext -
printStackTrace
protected boolean printStackTrace -
keepGenerated
protected boolean keepGenerated -
serializable
protected boolean serializable -
donotOverride
protected boolean donotOverride -
serializeInterfaces
protected boolean serializeInterfaces -
searchSchemaForSubtypes
protected boolean searchSchemaForSubtypes -
useDataHandlerOnly
protected boolean useDataHandlerOnly -
dontGenerateRPCStructures
protected boolean dontGenerateRPCStructures -
useDocLiteralEncoding
protected boolean useDocLiteralEncoding -
useRPCLiteralEncoding
protected boolean useRPCLiteralEncoding -
useWSIBasicProfile
protected boolean useWSIBasicProfile -
generateOneWayMethods
protected boolean generateOneWayMethods -
resolveIDREF
protected boolean resolveIDREF -
strictCompliance
protected boolean strictCompliance -
jaxbEnumType
protected boolean jaxbEnumType -
unwrapDocLitWrappers
protected boolean unwrapDocLitWrappers -
wrapperFlagSeen
protected boolean wrapperFlagSeen -
dontGenerateWrapperClasses
protected boolean dontGenerateWrapperClasses -
targetVersion
-
serializerInfix
-
userClasspath
-
MODE_UNSPECIFIED
protected static final int MODE_UNSPECIFIED- See Also:
-
MODE_IMPORT
protected static final int MODE_IMPORT- See Also:
-
MODE_DEFINE
protected static final int MODE_DEFINE- See Also:
-
MODE_GEN_CLIENT
protected static final int MODE_GEN_CLIENT- See Also:
-
MODE_GEN_SERVER
protected static final int MODE_GEN_SERVER- See Also:
-
MODE_GEN_BOTH
protected static final int MODE_GEN_BOTH- See Also:
-
-
Constructor Details
-
CompileTool
-
-
Method Details
-
initialize
protected void initialize()- Overrides:
initializein classToolBase
-
getEnvironment
- Specified by:
getEnvironmentin interfaceCompileTool
-
getProcessor
- Specified by:
getProcessorin interfaceCompileTool
-
setDelegate
- Specified by:
setDelegatein interfaceCompileTool
-
parseArguments
- Specified by:
parseArgumentsin classToolBase
-
resetOptionsForTargetVersion
protected void resetOptionsForTargetVersion() -
getVersion
-
getVersionString
-
usage
protected void usage() -
help
protected void help() -
run
Description copied from interface:CompileToolWhich one should we use? run() or run(String args[]). We have to define setters for each arguments if we were to use run();- Specified by:
runin interfaceCompileTool- Specified by:
runin classToolBase- Throws:
Exception
-
wasSuccessful
public boolean wasSuccessful()- Overrides:
wasSuccessfulin classToolBase
-
getGenericErrorMessage
- Specified by:
getGenericErrorMessagein classToolBase
-
getResourceBundleName
- Specified by:
getResourceBundleNamein classToolBase
-
printStackTrace
- Overrides:
printStackTracein classToolBase
-
beforeHook
protected void beforeHook() -
getSourceVersion
- Returns:
- the JAX-RPC version, 1.1.3 if none specified as target
-
withModelHook
protected void withModelHook() -
afterHook
protected void afterHook() -
removeGeneratedFiles
public void removeGeneratedFiles() -
createEnvironment
- Throws:
Exception
-
setEnvironmentValues
-
createConfiguration
- Throws:
Exception
-
registerProcessorActions
-
createClasspathString
-
compileGeneratedClasses
protected void compileGeneratedClasses() -
getAction
-
onError
- Specified by:
onErrorin interfaceProcessorNotificationListener
-
onWarning
- Specified by:
onWarningin interfaceProcessorNotificationListener
-
onInfo
- Specified by:
onInfoin interfaceProcessorNotificationListener
-