xdoclet.modules.wsee
public class WseeTagsHandler extends XDocletTagSupport
Modifier and Type | Field and Description |
---|---|
xjavadoc.XTag |
currentHandler
state
|
static java.lang.String |
HANDLER
name of javadoc tag indicating a handler
|
static java.lang.String |
PORT_COMPONENT
name of javadoc tag indicating a port component
|
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
WseeTagsHandler() |
Modifier and Type | Method and Description |
---|---|
void |
forAllHandlers(java.lang.String template,
java.util.Properties attributes)
Iterates over all handler tags annotating the current class.
|
void |
forAllPortComponents(java.lang.String template,
java.util.Properties attributes)
Iterates over all classes loaded by javadoc and being a port component.
|
protected java.lang.String |
getJaxrpcFilePattern()
Get the value of the jaxrpc file pattern
|
static java.lang.String |
getNamespaceForPackage(java.lang.String pak)
Gets the namespace for the specified package.
|
static java.lang.String |
getNamespaceForPackage(xjavadoc.XPackage pak)
Gets the namespace for the specified package.
|
java.lang.String |
getNamespaceURI(xjavadoc.XClass clazz)
return the namespace of the specified class
|
static java.util.List |
getPackageNamespaceMappings()
Gets the package-namespace mappings for the subtask.
|
protected java.lang.String |
getWsdlFilePattern()
Get the value of the wsdl file pattern
|
java.lang.String |
handlerTagValue(java.util.Properties props)
extract the value of the current handler tag
|
void |
ifHasHandlerTag(java.lang.String template,
java.util.Properties props)
conditional checking presence of a handler tag
|
void |
ifNotWsdlPerClass(java.lang.String template,
java.util.Properties props)
conditional to handle single wsdl generation
|
void |
ifWsdlPerClass(java.lang.String template,
java.util.Properties props)
conditional to handle per class wsdl
|
protected boolean |
isJaxrpcPerClass()
Is jaxrpc generation by class or as a single file?
|
static boolean |
isPortComponent(xjavadoc.XClass clazz)
check whether the given class is a port component
|
protected boolean |
isWsdlPerClass()
Is wsdl generation by class or as a single file?
|
java.lang.String |
jaxrpcMappingFilename(java.util.Properties props)
Constructs a guestimated filename for the jaxrpc file.
|
java.lang.String |
namespaceURI()
return the namespace of the current clazz/package
|
java.lang.String |
serviceEndpoint(java.util.Properties props)
returns the service endpoint interface name belonging to the current class
|
java.lang.String |
serviceEndpointLink(java.util.Properties props)
returns the service endpoint link pointing to the current class
|
java.lang.String |
wsdlFilename(java.util.Properties props)
Constructs a guestimated filename for the wsdl file.
|
delimit, expandClassName, generate, getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getDocletContext, getEngine, getExpandedDelimitedTagValue, getTagValue, getTagValue, getTagValue, hasHavingClassTag, hasTag, isTagValueEqual, mandatoryParamNotFound, mandatoryTemplateTagParamNotFound, modifiers, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage
getXJavaDoc, setXJavaDoc
public static final java.lang.String PORT_COMPONENT
public static final java.lang.String HANDLER
public xjavadoc.XTag currentHandler
public static boolean isPortComponent(xjavadoc.XClass clazz) throws XDocletException
clazz
- classXDocletException
public static java.lang.String getNamespaceForPackage(xjavadoc.XPackage pak)
pak
- packagegetNamespaceForPackage(java.lang.String)
public static java.lang.String getNamespaceForPackage(java.lang.String pak)
pak
- packagepublic static java.util.List getPackageNamespaceMappings()
public java.lang.String getNamespaceURI(xjavadoc.XClass clazz) throws XDocletException
clazz
- classXDocletException
public void forAllPortComponents(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
- Description of Exceptionpublic java.lang.String serviceEndpoint(java.util.Properties props) throws XDocletException
props
- The attributes of the template tagXDocletException
public java.lang.String serviceEndpointLink(java.util.Properties props) throws XDocletException
props
- The attributes of the template tagXDocletException
public java.lang.String namespaceURI() throws XDocletException
XDocletException
public void forAllHandlers(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
public void ifHasHandlerTag(java.lang.String template, java.util.Properties props) throws XDocletException
template
- The body of the block tagprops
- The attributes of the template tagXDocletException
public java.lang.String handlerTagValue(java.util.Properties props) throws XDocletException
props
- The attributes of the template tagXDocletException
public void ifWsdlPerClass(java.lang.String template, java.util.Properties props) throws XDocletException
template
- The body of the block tagprops
- The attributes of the template tagXDocletException
public void ifNotWsdlPerClass(java.lang.String template, java.util.Properties props) throws XDocletException
template
- The body of the block tagprops
- The attributes of the template tagXDocletException
public java.lang.String wsdlFilename(java.util.Properties props)
props
- If prefixWithPackageStructure is specified for the wsdl sub task, the property
prefixWithPackage="true" will need to be specified.public java.lang.String jaxrpcMappingFilename(java.util.Properties props)
props
- If prefixWithPackageStructure is specified for the wsdl sub task, the property
prefixWithPackage="true" will need to be specified.protected boolean isWsdlPerClass()
protected boolean isJaxrpcPerClass()
protected java.lang.String getWsdlFilePattern()
protected java.lang.String getJaxrpcFilePattern()