public class OperationCustom extends NestingBase
Modifier and Type | Field and Description |
---|---|
private java.util.List |
m_documentation |
private java.lang.String |
m_methodName |
private java.lang.String |
m_operationName |
private java.lang.String[] |
m_optionals |
private java.util.ArrayList |
m_parameters |
private java.lang.String |
m_requestMessageName |
private java.lang.String |
m_requestWrapperName |
private java.lang.String[] |
m_requireds |
private java.lang.String |
m_responseMessageName |
private java.lang.String |
m_responseWrapperName |
private ValueCustom |
m_return |
private java.lang.String |
m_soapAction |
private java.util.ArrayList |
m_throws |
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names
|
private static Logger |
s_logger
Logger for class.
|
CAMEL_CASE_NAMES, DERIVE_BY_PACKAGE, DERIVE_FIXED, DERIVE_NONE, DOTTED_NAMES, HYPHENATED_NAMES, REQUIRE_ALL, REQUIRE_NONE, REQUIRE_OBJECTS, REQUIRE_PRIMITIVES, s_namespaceStyleEnum, s_nameStyleEnum, s_requireEnum, UNDERSCORED_NAMES, UPPER_CAMEL_CASE_NAMES
Constructor and Description |
---|
OperationCustom(NestingBase parent,
java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addChild(CustomBase child)
Add child.
|
void |
apply(IClassItem method,
IClassLocator icl,
IDocumentFormatter fmt)
Apply customizations to method to fill out parameter and return information.
|
private static java.lang.Boolean |
checkRequired(java.lang.String name,
java.util.Set reqset,
java.util.Set optset)
Check if a particular value is required or optional.
|
private static OperationCustom |
factory(IUnmarshallingContext ictx)
Unmarshalling factory.
|
java.util.List |
getDocumentation()
Get operation documentation.
|
java.lang.String |
getMethodName()
Get method name.
|
java.lang.String |
getOperationName()
Get the operation name.
|
java.util.ArrayList |
getParameters()
Get list of children.
|
java.lang.String |
getRequestMessageName()
Get request message name.
|
java.lang.String |
getRequestWrapperName()
Get request wrapper element name.
|
java.lang.String |
getResponseMessageName()
Get response message name.
|
java.lang.String |
getResponseWrapperName()
Get response wrapper name.
|
ValueCustom |
getReturn()
Get return value.
|
java.lang.String |
getSoapAction()
Get SOAPAction.
|
java.util.ArrayList |
getThrows()
Get list of throws customizations.
|
java.lang.String |
getWsdlNamespace()
Get the namespace for WSDL definitions of this service.
|
private boolean |
isCollection(java.lang.String type,
IClassLocator icl)
Check if type is a collection type (specifically collection, not array).
|
private java.lang.String |
parameterType(SignatureParser parse)
Parse parameter type.
|
getChild, getContainingClass, getServiceBase, isNillable, isSoapAction, isWrapped, registerName
convertName, getFormatterClass, getNamespace, getNamespaceStyle, getNameStyle, getSpecifiedNamespace, isObjectRequired, isPrimitiveRequired, isUseJavaDocs, setNamespace, setNamespaceStyle, setNameStyle
convertName, deriveItemName, deriveNamespace, getContainingObject, getGlobal, getParent, packageOfType, packageToNamespace, validateAttributes
private static final Logger s_logger
public static final StringArray s_allowedAttributes
private java.lang.String m_methodName
private java.lang.String m_operationName
private java.lang.String m_requestMessageName
private java.lang.String m_requestWrapperName
private java.lang.String m_responseMessageName
private java.lang.String m_responseWrapperName
private java.lang.String m_soapAction
private java.util.List m_documentation
private java.lang.String[] m_requireds
private java.lang.String[] m_optionals
private final java.util.ArrayList m_parameters
private ValueCustom m_return
private final java.util.ArrayList m_throws
OperationCustom(NestingBase parent, java.lang.String name)
parent
- name
- method namepublic java.lang.String getWsdlNamespace()
getWsdlNamespace
in class NestingBase
public java.lang.String getMethodName()
public java.lang.String getOperationName()
public java.lang.String getRequestMessageName()
public java.lang.String getRequestWrapperName()
public java.lang.String getResponseMessageName()
public java.lang.String getResponseWrapperName()
public ValueCustom getReturn()
public java.lang.String getSoapAction()
public java.util.List getDocumentation()
null
if none)public java.util.ArrayList getParameters()
public java.util.ArrayList getThrows()
protected void addChild(CustomBase child)
child
- private static OperationCustom factory(IUnmarshallingContext ictx) throws JiBXException
ictx
- JiBXException
private boolean isCollection(java.lang.String type, IClassLocator icl)
type
- null
if not a collection typeprivate java.lang.String parameterType(SignatureParser parse)
parse
- private static java.lang.Boolean checkRequired(java.lang.String name, java.util.Set reqset, java.util.Set optset)
name
- reqset
- optset
- TRUE
if required, FALSE
if optional, null
if unknownpublic void apply(IClassItem method, IClassLocator icl, IDocumentFormatter fmt)
method
- icl
- fmt
-