|
||||||
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.WsdlCustom
public class WsdlCustom
Global customization information for WSDL generation. This extends the binding customization model to include the information used for service definitions.
Field Summary | |
---|---|
private java.util.ArrayList |
m_faultList
List of Fault definitions. |
private java.util.Map |
m_faultMap
Map from fully-qualified class name to Fault information. |
private FormatterCache |
m_formatCache
JavaDoc formatter instance cache. |
private IClassLocator |
m_locator
Class locator. |
private java.util.ArrayList |
m_serviceList
List of services, in order added. |
private java.util.Map |
m_serviceMap
Map from fully-qualified class name to service information. |
private java.lang.String |
m_wsdlNamespace
Customization value from unmarshalling. |
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names |
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 | |
---|---|
WsdlCustom(SharedNestingBase parent)
Constructor. |
Method Summary | |
---|---|
ServiceCustom |
addServiceCustomization(java.lang.String type)
Add new service customization. |
void |
apply(IClassLocator icl)
Apply customizations to services to fill out members. |
private static WsdlCustom |
factory(IUnmarshallingContext ictx)
Unmarshalling factory. |
FaultCustom |
forceFaultCustomization(java.lang.String type)
Force fault customization information. |
FaultCustom |
getFaultCustomization(java.lang.String type)
Get fault customization information. |
java.util.List |
getFaults()
Get list of Faults. |
IDocumentFormatter |
getFormatter(SharedNestingBase custom)
Get a JavaDoc formatter instance for a class. |
int |
getNameStyle()
Get name style. |
ServiceCustom |
getServiceCustomization(java.lang.String type)
Get service customization information. |
java.util.List |
getServices()
Get list of services. |
java.lang.String |
getWsdlNamespace()
Get the namespace for WSDL definitions of services. |
private void |
preSet(IUnmarshallingContext uctx)
Make sure all attributes are defined. |
void |
setWsdlNamespace(java.lang.String uri)
Set the namespace for WSDL definitions of services. |
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, 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 |
---|
public static final StringArray s_allowedAttributes
private java.lang.String m_wsdlNamespace
private final java.util.ArrayList m_faultList
private final java.util.Map m_faultMap
private final java.util.ArrayList m_serviceList
private final java.util.Map m_serviceMap
private IClassLocator m_locator
private FormatterCache m_formatCache
Constructor Detail |
---|
public WsdlCustom(SharedNestingBase parent)
parent
- Method Detail |
---|
private void preSet(IUnmarshallingContext uctx)
uctx
- unmarshalling contextpublic java.lang.String getWsdlNamespace()
getWsdlNamespace
in class NestingBase
null
if unspecified)public void setWsdlNamespace(java.lang.String uri)
uri
- WSDL namespace (null
if to be derived from service class name)public java.util.List getFaults()
public int getNameStyle()
SharedNestingBase
getNameStyle
in class SharedNestingBase
public FaultCustom getFaultCustomization(java.lang.String type)
apply(IClassLocator)
method is called.
type
- fully qualified class name
null
if none)public FaultCustom forceFaultCustomization(java.lang.String type)
apply(IClassLocator)
method is called. If the fault customization information has not previously been created, it will be created by
this call.
type
- fully qualified exception class name
null
if none)public java.util.List getServices()
public ServiceCustom getServiceCustomization(java.lang.String type)
apply(IClassLocator)
method is called.
type
- fully qualified class name
null
if none)public ServiceCustom addServiceCustomization(java.lang.String type)
getServiceCustomization(String)
and obtaining a null
result.
type
- fully qualified class name
public IDocumentFormatter getFormatter(SharedNestingBase custom)
custom
- customization information
private static WsdlCustom factory(IUnmarshallingContext ictx)
ictx
-
public void apply(IClassLocator icl)
apply
in interface IApply
icl
- class locator
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |