public class ServiceCustom extends NestingBase
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
m_bindingName |
private IClass |
m_classInformation |
private java.lang.String |
m_className |
private java.util.List |
m_documentation |
private java.lang.String[] |
m_excludes |
private java.lang.String[] |
m_includes |
private java.lang.String |
m_namespace |
private java.util.ArrayList |
m_operations |
private java.lang.String |
m_portName |
private java.lang.String |
m_portTypeName |
private java.lang.String |
m_serviceAddress |
private java.lang.String |
m_serviceName |
private java.lang.String |
m_wsdlNamespace |
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names
|
private static org.apache.log4j.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 |
---|
ServiceCustom(SharedNestingBase parent,
java.lang.String clas)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addChild(CustomBase child)
Add child.
|
void |
apply(IClassLocator icl,
IDocumentFormatter fmt)
Apply customizations to service to fill out members.
|
private java.lang.String |
deriveServiceNamespace(java.lang.String uri)
Derive service-specific namespace URI.
|
private static ServiceCustom |
factory(IUnmarshallingContext ictx)
Unmarshalling factory.
|
java.lang.String |
getBindingName()
Get the binding name.
|
java.lang.String |
getClassName()
Get service class name.
|
java.util.List |
getDocumentation()
Get service documentation node list.
|
java.lang.String[] |
getExcludes()
Get list of method names to be excluded as operations.
|
java.lang.String[] |
getIncludes()
Get list of method names to be included as operations.
|
java.util.ArrayList |
getOperations()
Get list of children.
|
java.lang.String |
getPortName()
Get the port name.
|
java.lang.String |
getPortTypeName()
Get the portType name.
|
java.lang.String |
getServiceAddress()
Get the service address.
|
java.lang.String |
getServiceName()
Get the service name.
|
java.lang.String |
getWsdlNamespace()
Get the namespace for WSDL definitions of this service.
|
private void |
preSet(IUnmarshallingContext uctx)
Make sure all attributes are defined.
|
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 org.apache.log4j.Logger s_logger
public static final StringArray s_allowedAttributes
private final java.lang.String m_className
private java.lang.String m_serviceName
private java.lang.String m_portName
private java.lang.String m_bindingName
private java.lang.String m_portTypeName
private java.lang.String m_wsdlNamespace
private java.lang.String m_serviceAddress
private java.util.List m_documentation
private java.lang.String[] m_includes
private java.lang.String[] m_excludes
private final java.util.ArrayList m_operations
private IClass m_classInformation
private java.lang.String m_namespace
public ServiceCustom(SharedNestingBase parent, java.lang.String clas)
parent
- clas
- private void preSet(IUnmarshallingContext uctx)
uctx
- unmarshalling contextpublic java.lang.String getClassName()
public java.lang.String getServiceName()
public java.lang.String getPortName()
public java.lang.String getBindingName()
public java.lang.String getPortTypeName()
public java.lang.String getServiceAddress()
public java.util.List getDocumentation()
null
if none)public java.lang.String[] getExcludes()
null
if none)public java.lang.String[] getIncludes()
null
if none)public java.util.ArrayList getOperations()
public java.lang.String getWsdlNamespace()
#apply(IClassLocator)
method.getWsdlNamespace
in class NestingBase
protected void addChild(CustomBase child)
child
- private static ServiceCustom factory(IUnmarshallingContext ictx) throws JiBXException
ictx
- JiBXException
private java.lang.String deriveServiceNamespace(java.lang.String uri)
uri
- base URIpublic void apply(IClassLocator icl, IDocumentFormatter fmt)
icl
- class locatorfmt
- JavaDoc formatter