Package org.jibx.ws.wsdl.tools.custom
Class ThrowsCustom
java.lang.Object
org.jibx.custom.classes.CustomBase
org.jibx.ws.wsdl.tools.custom.ThrowsCustom
Method throws customization information. This just defines the actual exceptions to be handled for a method
- Author:
- Dennis M. Sosnoski
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List
private String
static final StringArray
Enumeration of allowed attribute namesFields 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
ThrowsCustom
(NestingBase parent, String type) Constructor. -
Method Summary
Modifier and TypeMethodDescription(package private) void
Complete customization information using supplied default documentation.Get value documentation node list.getType()
Get fully-qualified class name thrown.private void
preSet
(IUnmarshallingContext uctx) Make sure all attributes are defined.private static ThrowsCustom
Parameter value unmarshalling factory.Methods inherited from class org.jibx.custom.classes.CustomBase
convertName, deriveItemName, deriveNamespace, getContainingObject, getGlobal, getParent, packageOfType, packageToNamespace, validateAttributes
-
Field Details
-
s_allowedAttributes
Enumeration of allowed attribute names -
m_type
-
m_documentation
-
-
Constructor Details
-
ThrowsCustom
Constructor.- Parameters:
parent
-type
- fully-qualified class name thrown
-
-
Method Details
-
preSet
Make sure all attributes are defined.- Parameters:
uctx
- unmarshalling context
-
getType
Get fully-qualified class name thrown.- Returns:
- type
-
getDocumentation
Get value documentation node list. This method should only be used after thecomplete(List)
method is called.- Returns:
- list of documentation nodes (
null
if none)
-
complete
Complete customization information using supplied default documentation.- Parameters:
docs
- default documentation text (null
if none)
-
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
-