Class 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 Detail

      • m_exceptionType

        private java.lang.String m_exceptionType
      • m_fieldName

        private java.lang.String m_fieldName
      • m_dataType

        private java.lang.String m_dataType
      • m_faultName

        private java.lang.String m_faultName
      • m_elementName

        private java.lang.String m_elementName
      • m_documentation

        private java.util.List m_documentation
    • Constructor Detail

      • FaultCustom

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

      • getExceptionType

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

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

        public java.lang.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 java.lang.String getDataType()
        Get fully-qualified name of exception data class.
        Returns:
        parmaterized type
      • getDocumentation

        public java.util.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