Class JDFResponse

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, IStreamWriter, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class JDFResponse
    extends JDFAutoResponse
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFResponse

        public JDFResponse​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                           java.lang.String qualifiedName)
        Constructor for JDFResponse
        Parameters:
        myOwnerDocument -
        qualifiedName -
      • JDFResponse

        public JDFResponse​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                           java.lang.String myNamespaceURI,
                           java.lang.String qualifiedName)
        Constructor for JDFResponse
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
      • JDFResponse

        public JDFResponse​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                           java.lang.String myNamespaceURI,
                           java.lang.String qualifiedName,
                           java.lang.String myLocalName)
        Constructor for JDFResponse
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        myLocalName -
    • Method Detail

      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class KElement
        Returns:
        String
        See Also:
        Object.toString()
      • setErrorText

        @Deprecated
        public JDFNotification setErrorText​(java.lang.String errorText)
        Deprecated.
        use public JDFNotification setErrorText(String errorText, EnumClass errorClass)
        Set ErrorText, (Notification/Comment/#text) also sets Notification/@Type=Error and Notification/@Class=Error doesn't create a notification if ErroerText=null
        Parameters:
        errorText - new error text
        Returns:
        JDFNotification the newly created Notification element
      • getCreateNotification

        public JDFNotification getCreateNotification()
        Returns:
        JDFNotification the element
      • setErrorText

        public JDFNotification setErrorText​(java.lang.String errorText,
                                            JDFAutoNotification.EnumClass errorClass)
        Set ErrorText, (Notification/Comment/#text) also sets Notification/@Type=Error and Notification/@Class=Error doesn't create a notification if ErroerText=null
        Parameters:
        errorText - new error text
        errorClass - the error class
        Returns:
        JDFNotification the newly created Notification element
      • splitAcknowledge

        public JDFAcknowledge splitAcknowledge()
        create an acknowledge JMF and set this to a pure acknowledge response
        Returns:
        an Acknowledge element that corresponds to this
      • getNotification

        public JDFNotification getNotification()
        legacy get first notification
        Returns: