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 Details

    • s_allowedAttributes

      public static final StringArray s_allowedAttributes
      Enumeration of allowed attribute names
    • m_type

      private String m_type
    • m_documentation

      private List m_documentation
  • Constructor Details

    • ThrowsCustom

      protected ThrowsCustom(NestingBase parent, String type)
      Constructor.
      Parameters:
      parent -
      type - fully-qualified class name thrown
  • Method Details

    • preSet

      private void preSet(IUnmarshallingContext uctx)
      Make sure all attributes are defined.
      Parameters:
      uctx - unmarshalling context
    • getType

      public String getType()
      Get fully-qualified class name thrown.
      Returns:
      type
    • getDocumentation

      public List getDocumentation()
      Get value documentation node list. This method should only be used after the complete(List) method is called.
      Returns:
      list of documentation nodes (null if none)
    • complete

      void complete(List docs)
      Complete customization information using supplied default documentation.
      Parameters:
      docs - default documentation text (null if 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