Package org.jibx.ws.wsdl.tools.custom
Class FaultCustom
java.lang.Object
org.jibx.custom.classes.CustomBase
org.jibx.ws.wsdl.tools.custom.FaultCustom
Fault data customization information.
TODO: include this in the customizations file structure - child of service element?
- Author:
- Dennis M. Sosnoski
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private List
private String
private String
private String
private String
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
ConstructorsModifierConstructorDescriptionprotected
FaultCustom
(NestingBase parent, String type) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(IClassLocator icl) Apply customizations to fault to fill out members.Get fully-qualified name of exception data class.Get value documentation node list.Get XML element name for exception data.Get fully-qualified exception class name.Get Fault name.private static FaultCustom
Parameter value unmarshalling factory.Methods inherited from class org.jibx.custom.classes.CustomBase
convertName, deriveItemName, deriveNamespace, getContainingObject, getGlobal, getParent, packageOfType, packageToNamespace, validateAttributes
-
Field Details
-
m_exceptionType
-
m_fieldName
-
m_dataType
-
m_faultName
-
m_elementName
-
m_documentation
-
-
Constructor Details
-
FaultCustom
Constructor.- Parameters:
parent
-type
- fully-qualified exception class name
-
-
Method Details
-
getExceptionType
Get fully-qualified exception class name.- Returns:
- type
-
getFaultName
Get Fault name. This method should only be used after theapply(IClassLocator)
method is called.- Returns:
- parmaterized type
-
getElementName
Get XML element name for exception data. This method should only be used after theapply(IClassLocator)
method is called.- Returns:
- name
-
getDataType
Get fully-qualified name of exception data class.- Returns:
- parmaterized type
-
getDocumentation
Get value documentation node list. This method should only be used after theapply(IClassLocator)
method is called.- Returns:
- list of documentation nodes (
null
if none)
-
apply
Apply customizations to fault to fill out members.- Parameters:
icl
- class locator
-
throwsFactory
Parameter value 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
-