Package org.jibx.ws.wsdl.tools.custom
Class ThrowsCustom
- java.lang.Object
-
- org.jibx.custom.classes.CustomBase
-
- org.jibx.ws.wsdl.tools.custom.ThrowsCustom
-
public class ThrowsCustom extends CustomBase
Method throws customization information. This just defines the actual exceptions to be handled for a method- Author:
- Dennis M. Sosnoski
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Listm_documentationprivate java.lang.Stringm_typestatic StringArrays_allowedAttributesEnumeration 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
Constructors Modifier Constructor Description protectedThrowsCustom(NestingBase parent, java.lang.String type)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidcomplete(java.util.List docs)Complete customization information using supplied default documentation.java.util.ListgetDocumentation()Get value documentation node list.java.lang.StringgetType()Get fully-qualified class name thrown.private voidpreSet(IUnmarshallingContext uctx)Make sure all attributes are defined.private static ThrowsCustomthrowsFactory(IUnmarshallingContext ictx)Parameter value unmarshalling factory.-
Methods inherited from class org.jibx.custom.classes.CustomBase
convertName, deriveItemName, deriveNamespace, getContainingObject, getGlobal, getParent, packageOfType, packageToNamespace, validateAttributes
-
-
-
-
Field Detail
-
s_allowedAttributes
public static final StringArray s_allowedAttributes
Enumeration of allowed attribute names
-
m_type
private java.lang.String m_type
-
m_documentation
private java.util.List m_documentation
-
-
Constructor Detail
-
ThrowsCustom
protected ThrowsCustom(NestingBase parent, java.lang.String type)
Constructor.- Parameters:
parent-type- fully-qualified class name thrown
-
-
Method Detail
-
preSet
private void preSet(IUnmarshallingContext uctx)
Make sure all attributes are defined.- Parameters:
uctx- unmarshalling context
-
getType
public java.lang.String getType()
Get fully-qualified class name thrown.- Returns:
- type
-
getDocumentation
public java.util.List getDocumentation()
Get value documentation node list. This method should only be used after thecomplete(List)method is called.- Returns:
- list of documentation nodes (
nullif none)
-
complete
void complete(java.util.List docs)
Complete customization information using supplied default documentation.- Parameters:
docs- default documentation text (nullif none)
-
throwsFactory
private static ThrowsCustom throwsFactory(IUnmarshallingContext ictx) throws JiBXException
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
-
-