Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.wsee.tools.anttasks
Class JwscTask

java.lang.Object
  extended by Task
      extended by weblogic.wsee.tools.anttasks.DelegatingJavacTask
          extended by weblogic.wsee.tools.anttasks.MatchingJavacTask
              extended by weblogic.wsee.tools.anttasks.JwscTask

public class JwscTask
extends MatchingJavacTask


Nested Class Summary
 
Nested classes/interfaces inherited from class weblogic.wsee.tools.anttasks.DelegatingJavacTask
DelegatingJavacTask.ExposingJavac
 
Constructor Summary
JwscTask()
           
 
Method Summary
 void addBinding(FileSet binding)
           
 void addXsdConfig(FileSet fileSet)
          Deprecated. use addBinding instead
protected  void checkParameters()
           
 SingleJwsModule createJws()
          Create a JWS file that will be in it's own module.
 MultipleJwsModule createModule()
          Create a module to be included in the output application.
 void execute()
          Executes the task.
 Path getSourcepath()
          Gets the sourcepath to be used for this compilation.
 boolean isJaxRpcByteArrayStyle()
           
 boolean isKeepGenerated()
           
 boolean isLocalElementDefaultNillable()
           
 boolean isLocalElementDefaultRequired()
           
 boolean isUpperCasePropName()
           
 void setApplicationXml(File applicationXml)
           
 void setDestEncoding(String encoding)
          Sets the character encoding to use when writing deployment descriptor and WSDL files.
 void setDotNetStyle(boolean dotNetStyle)
           
 void setEnableAsyncService(boolean enableAsyncService)
          Deprecated. 
 void setIncludeResourcesDir(File includeResourcesDir)
          Deprecated. use nested file sets under the modules instead
 void setJaxRpcByteArrayStyle(boolean ajaxRPCWrappedArrayStyle)
           
 void setKeepGenerated(boolean keepGenerated)
           
 void setKeepTempFiles(boolean keepTempFiles)
           
 void setLocalElementDefaultNillable(boolean nillable)
           
 void setLocalElementDefaultRequired(boolean required)
           
 void setSrcdir(File srcDir)
           
 void setSrcEncoding(String encoding)
          Sets the character encoding to use when reading input files.
 void setUpperCasePropName(boolean upperCasePropName)
           
 
Methods inherited from class weblogic.wsee.tools.anttasks.MatchingJavacTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject
 
Methods inherited from class weblogic.wsee.tools.anttasks.DelegatingJavacTask
compile, compile, createClasspath, createCompilerArg, createExtdirs, createSourcepath, getClasspath, getDebug, getDebugLevel, getDestdir, getFailonerror, getFork, getIncludeantruntime, getIncludejavaruntime, getMemoryInitialSize, getMemoryMaximumSize, getOptimize, getTempdir, getVerbose, isVerbose, setBootclasspath, setBootClasspathRef, setClasspath, setClasspathRef, setCompiler, setDebug, setDebugLevel, setDepend, setDeprecation, setDestdir, setEncoding, setExecutable, setExtdirs, setFailonerror, setFork, setIncludeantruntime, setIncludejavaruntime, setListfiles, setMemoryInitialSize, setMemoryMaximumSize, setNowarn, setOptimize, setOwningTarget, setProceed, setSource, setSourcepath, setSourcepathRef, setTaskName, setTempdir, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JwscTask

public JwscTask()
Method Detail

setKeepTempFiles

public void setKeepTempFiles(boolean keepTempFiles)

setSrcdir

public void setSrcdir(File srcDir)

setEnableAsyncService

@Deprecated
public void setEnableAsyncService(boolean enableAsyncService)
Deprecated. 


setKeepGenerated

public void setKeepGenerated(boolean keepGenerated)

isKeepGenerated

public boolean isKeepGenerated()

setApplicationXml

public void setApplicationXml(File applicationXml)

setDotNetStyle

public void setDotNetStyle(boolean dotNetStyle)

setIncludeResourcesDir

@Deprecated
public void setIncludeResourcesDir(File includeResourcesDir)
Deprecated. use nested file sets under the modules instead


createModule

public MultipleJwsModule createModule()
Create a module to be included in the output application.

Returns:
a module

createJws

public SingleJwsModule createJws()
Create a JWS file that will be in it's own module.

Returns:
the jws module

setSrcEncoding

public void setSrcEncoding(String encoding)
Sets the character encoding to use when reading input files. If not specified, the VM default encoding will be used.


setDestEncoding

public void setDestEncoding(String encoding)
Sets the character encoding to use when writing deployment descriptor and WSDL files. By default, UTF-8 encoding will be used.


getSourcepath

public Path getSourcepath()
Gets the sourcepath to be used for this compilation.

Overrides:
getSourcepath in class DelegatingJavacTask
Returns:
the source path

execute

public void execute()
             throws BuildException
Executes the task.

Throws:
BuildException

checkParameters

protected void checkParameters()
Overrides:
checkParameters in class DelegatingJavacTask

addXsdConfig

@Deprecated
public void addXsdConfig(FileSet fileSet)
Deprecated. use addBinding instead

Add an xsdConfig file set.


addBinding

public void addBinding(FileSet binding)

setJaxRpcByteArrayStyle

public void setJaxRpcByteArrayStyle(boolean ajaxRPCWrappedArrayStyle)

isJaxRpcByteArrayStyle

public boolean isJaxRpcByteArrayStyle()

setUpperCasePropName

public void setUpperCasePropName(boolean upperCasePropName)

isUpperCasePropName

public boolean isUpperCasePropName()

setLocalElementDefaultRequired

public void setLocalElementDefaultRequired(boolean required)

isLocalElementDefaultRequired

public boolean isLocalElementDefaultRequired()

setLocalElementDefaultNillable

public void setLocalElementDefaultNillable(boolean nillable)

isLocalElementDefaultNillable

public boolean isLocalElementDefaultNillable()

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04