|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.custom.classes.CustomBase
org.jibx.custom.classes.SharedNestingBase
org.jibx.ws.wsdl.tools.custom.NestingBase
org.jibx.ws.wsdl.tools.custom.ServiceCustom
public class 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.
Field Summary | |
---|---|
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. |
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 | |
---|---|
ServiceCustom(SharedNestingBase parent,
java.lang.String clas)
Constructor. |
Method Summary | |
---|---|
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. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public ServiceCustom(SharedNestingBase parent, java.lang.String clas)
parent
- clas
- Method Detail |
---|
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 URI
public void apply(IClassLocator icl, IDocumentFormatter fmt)
icl
- class locatorfmt
- JavaDoc formatter
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |