Class FaultCustom

java.lang.Object
org.jibx.custom.classes.CustomBase
org.jibx.ws.wsdl.tools.custom.FaultCustom

public class FaultCustom extends CustomBase
Fault data customization information. TODO: include this in the customizations file structure - child of service element?
Author:
Dennis M. Sosnoski
  • Field Details

    • m_exceptionType

      private String m_exceptionType
    • m_fieldName

      private String m_fieldName
    • m_dataType

      private String m_dataType
    • m_faultName

      private String m_faultName
    • m_elementName

      private String m_elementName
    • m_documentation

      private List m_documentation
  • Constructor Details

    • FaultCustom

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

    • getExceptionType

      public String getExceptionType()
      Get fully-qualified exception class name.
      Returns:
      type
    • getFaultName

      public String getFaultName()
      Get Fault name. This method should only be used after the apply(IClassLocator) method is called.
      Returns:
      parmaterized type
    • getElementName

      public String getElementName()
      Get XML element name for exception data. This method should only be used after the apply(IClassLocator) method is called.
      Returns:
      name
    • getDataType

      public String getDataType()
      Get fully-qualified name of exception data class.
      Returns:
      parmaterized type
    • getDocumentation

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

      public void apply(IClassLocator icl)
      Apply customizations to fault to fill out members.
      Parameters:
      icl - class locator
    • throwsFactory

      private static FaultCustom 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