Package org.jibx.ws.wsdl.tools.custom
Class ServiceCustom
java.lang.Object
org.jibx.custom.classes.CustomBase
org.jibx.custom.classes.SharedNestingBase
org.jibx.ws.wsdl.tools.custom.NestingBase
org.jibx.ws.wsdl.tools.custom.ServiceCustom
Service customization information. This supports direct service customizations (such as the corresponding request
and/or response element name) and also acts as a container for parameter and/or return customizations.
- Author:
- Dennis M. Sosnoski
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private IClass
private final String
private List
private String[]
private String[]
private String
private final ArrayList
private String
private String
private String
private String
private String
static final StringArray
Enumeration of allowed attribute namesprivate static final Logger
Logger for class.Fields inherited from class org.jibx.custom.classes.CustomBase
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addChild
(CustomBase child) Add child.void
apply
(IClassLocator icl, IDocumentFormatter fmt) Apply customizations to service to fill out members.private String
Derive service-specific namespace URI.private static ServiceCustom
factory
(IUnmarshallingContext ictx) Unmarshalling factory.Get the binding name.Get service class name.Get service documentation node list.String[]
Get list of method names to be excluded as operations.String[]
Get list of method names to be included as operations.Get list of children.Get the port name.Get the portType name.Get the service address.Get the service name.Get the namespace for WSDL definitions of this service.private void
preSet
(IUnmarshallingContext uctx) Make sure all attributes are defined.Methods inherited from class org.jibx.ws.wsdl.tools.custom.NestingBase
getChild, getContainingClass, getServiceBase, isNillable, isSoapAction, isWrapped, registerName
Methods inherited from class org.jibx.custom.classes.SharedNestingBase
convertName, getFormatterClass, getNamespace, getNamespaceStyle, getNameStyle, getSpecifiedNamespace, isObjectRequired, isPrimitiveRequired, isUseJavaDocs, setNamespace, setNamespaceStyle, setNameStyle
Methods inherited from class org.jibx.custom.classes.CustomBase
convertName, deriveItemName, deriveNamespace, getContainingObject, getGlobal, getParent, packageOfType, packageToNamespace, validateAttributes
-
Field Details
-
s_logger
private static final Logger s_loggerLogger for class. -
s_allowedAttributes
Enumeration of allowed attribute names -
m_className
-
m_serviceName
-
m_portName
-
m_bindingName
-
m_portTypeName
-
m_wsdlNamespace
-
m_serviceAddress
-
m_documentation
-
m_includes
-
m_excludes
-
m_operations
-
m_classInformation
-
m_namespace
-
-
Constructor Details
-
Method Details
-
preSet
Make sure all attributes are defined.- Parameters:
uctx
- unmarshalling context
-
getClassName
Get service class name.- Returns:
- class name
-
getServiceName
Get the service name.- Returns:
- service name
-
getPortName
Get the port name.- Returns:
- port name
-
getBindingName
Get the binding name.- Returns:
- binding name
-
getPortTypeName
Get the portType name.- Returns:
- portType name
-
getServiceAddress
Get the service address.- Returns:
- service address
-
getDocumentation
Get service documentation node list.- Returns:
- list of documentation nodes (
null
if none)
-
getExcludes
Get list of method names to be excluded as operations.- Returns:
- excludes (
null
if none)
-
getIncludes
Get list of method names to be included as operations.- Returns:
- includes (
null
if none)
-
getOperations
Get list of children.- Returns:
- list
-
getWsdlNamespace
Get the namespace for WSDL definitions of this service. This value is set by theinvalid reference
#apply(IClassLocator)
- Specified by:
getWsdlNamespace
in classNestingBase
- Returns:
- WSDL namespace
-
addChild
Add child.- Parameters:
child
-
-
factory
Unmarshalling factory. This gets the containing element and the name so that the standard constructor can be used.- Parameters:
ictx
-- Returns:
- created instance
- Throws:
JiBXException
-
deriveServiceNamespace
Derive service-specific namespace URI. The appends the service name to the supplied URI, adding a path separator if necessary.- Parameters:
uri
- base URI- Returns:
- service-specific URI
-
apply
Apply customizations to service to fill out members.- Parameters:
icl
- class locatorfmt
- JavaDoc formatter
-