xdoclet.modules.wsee

Class WsdlSubTask

public class WsdlSubTask extends XmlSubTask

Subtask that generates a service.wsdl service descriptor.

Version: $Revision: 1.2 $

Author: Christoph G. Jung (christoph.jung@infor.de) Jason Essington (jasone@greenrivercomputing.com)

UNKNOWN: 23.12.03 display-name = "service.wsdl" name = "wsdl" parent = "xdoclet.modules.wsee.WseeDocletTask"

Field Summary
static StringDEFAULT_WSDL_FILE_PATTERN
Constructor Summary
WsdlSubTask()
sets template
Method Summary
protected voidengineStarted()
notify start of task
voidexecute()
run subtask
protected StringgetGeneratedFileName(XClass clazz)
Returns class name for the generated file.
booleanisPrefixWithPackageStructure()
Gets the PrefixWithPackageStructure attribute of the TemplateSubTask object
protected booleanmatchesGenerationRules(XClass clazz)
Describe what the method does
voidsetPrefixWithPackageStructure(boolean prefixWithPackageStructure)
Indicates whether or not to prefix with package structure.
voidvalidateOptions()

Field Detail

DEFAULT_WSDL_FILE_PATTERN

public static final String DEFAULT_WSDL_FILE_PATTERN

Constructor Detail

WsdlSubTask

public WsdlSubTask()
sets template

Method Detail

engineStarted

protected void engineStarted()
notify start of task

Throws: XDocletException

execute

public void execute()
run subtask

Throws: XDocletException

getGeneratedFileName

protected String getGeneratedFileName(XClass clazz)
Returns class name for the generated file. {0} substituted by wsee.port-component name.

Parameters: clazz Description of Parameter

Returns: The GeneratedClassName value

Throws: XDocletException Description of Exception

isPrefixWithPackageStructure

public boolean isPrefixWithPackageStructure()
Gets the PrefixWithPackageStructure attribute of the TemplateSubTask object

Returns: The PrefixWithPackageStructure value

matchesGenerationRules

protected boolean matchesGenerationRules(XClass clazz)
Describe what the method does

Parameters: clazz Describe what the parameter does

Returns: Describe the return value

Throws: XDocletException

setPrefixWithPackageStructure

public void setPrefixWithPackageStructure(boolean prefixWithPackageStructure)
Indicates whether or not to prefix with package structure.

Parameters: prefixWithPackageStructure The new PrefixWithPackageStructure value

UNKNOWN: No,defaultis "true"

validateOptions

public void validateOptions()