Tags handler for dealing with wsee extensions.
forAllHandlers
public void forAllHandlers(String template,
Properties attributes)
throws xdoclet.XDocletException
Iterates over all handler tags annotating the current class.
template
- The body of the block tagattributes
- The attributes of the template tag
xdoclet.XDocletException
-
forAllPortComponents
public void forAllPortComponents(String template,
Properties attributes)
throws xdoclet.XDocletException
Iterates over all classes loaded by javadoc and being a port component.
template
- The body of the block tagattributes
- The attributes of the template tag
xdoclet.XDocletException
- Description of Exception
- name = "abstract"
optional = "true"
values = "true,false"
description = "If true then accept
abstract classes also; otherwise don't."
- name = "type"
optional = "true"
description = "For all classes by the type."
getJaxrpcFilePattern
protected String getJaxrpcFilePattern()
Get the value of the jaxrpc file pattern
getNamespaceForPackage
public static String getNamespaceForPackage(String pak)
Gets the namespace for the specified package.
getNamespaceForPackage
public static String getNamespaceForPackage(XPackage pak)
Gets the namespace for the specified package.
getNamespaceForPackage(java.lang.String)
getNamespaceURI
public String getNamespaceURI(XClass clazz)
throws xdoclet.XDocletException
return the namespace of the specified class
xdoclet.XDocletException
-
getPackageNamespaceMappings
public static List getPackageNamespaceMappings()
Gets the package-namespace mappings for the subtask.
- List of packageNamespaceMapping config params
getWsdlFilePattern
protected String getWsdlFilePattern()
Get the value of the wsdl file pattern
handlerTagValue
public String handlerTagValue(Properties props)
throws xdoclet.XDocletException
extract the value of the current handler tag
props
- The attributes of the template tag
xdoclet.XDocletException
-
- name = "paramName"
optional = "false"
description = "The name of the parameter"
ifHasHandlerTag
public void ifHasHandlerTag(String template,
Properties props)
throws xdoclet.XDocletException
conditional checking presence of a handler tag
template
- The body of the block tagprops
- The attributes of the template tag
xdoclet.XDocletException
-
- name = "paramName"
optional = "false"
description = "The name of the parameter"
ifNotWsdlPerClass
public void ifNotWsdlPerClass(String template,
Properties props)
throws xdoclet.XDocletException
conditional to handle single wsdl generation
template
- The body of the block tagprops
- The attributes of the template tag
xdoclet.XDocletException
-
ifWsdlPerClass
public void ifWsdlPerClass(String template,
Properties props)
throws xdoclet.XDocletException
conditional to handle per class wsdl
template
- The body of the block tagprops
- The attributes of the template tag
xdoclet.XDocletException
-
isJaxrpcPerClass
protected boolean isJaxrpcPerClass()
Is jaxrpc generation by class or as a single file?
isPortComponent
public static boolean isPortComponent(XClass clazz)
throws xdoclet.XDocletException
check whether the given class is a port component
xdoclet.XDocletException
-
isWsdlPerClass
protected boolean isWsdlPerClass()
Is wsdl generation by class or as a single file?
jaxrpcMappingFilename
public String jaxrpcMappingFilename(Properties props)
Constructs a guestimated filename for the jaxrpc file.
props
- If prefixWithPackageStructure is specified for the wsdl sub task, the property
prefixWithPackage="true" will need to be specified.
- name = "prefixWithPackage"
optional = "true"
values = "true,false"
description = "Whether to prefix the
filename with the package hierarchy."
namespaceURI
public String namespaceURI()
throws xdoclet.XDocletException
return the namespace of the current clazz/package
xdoclet.XDocletException
-
serviceEndpoint
public String serviceEndpoint(Properties props)
throws xdoclet.XDocletException
returns the service endpoint interface name belonging to the current class
props
- The attributes of the template tag
xdoclet.XDocletException
-
serviceEndpointLink
public String serviceEndpointLink(Properties props)
throws xdoclet.XDocletException
returns the service endpoint link pointing to the current class
props
- The attributes of the template tag
xdoclet.XDocletException
-
wsdlFilename
public String wsdlFilename(Properties props)
Constructs a guestimated filename for the wsdl file. It also attempts to decide if the file should be in META-INF
or WEB-INF. This should yield a filename that will be correct for use within the webservices.xml file.
props
- If prefixWithPackageStructure is specified for the wsdl sub task, the property
prefixWithPackage="true" will need to be specified.
- name = "prefixWithPackage"
optional = "true"
values = "true,false"
description = "Whether to prefix the
filename with the package hierarchy."