Class JDFResponse

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
All Implemented Interfaces:
Serializable, Cloneable, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class JDFResponse extends JDFAutoResponse
See Also:
  • Constructor Details

    • JDFResponse

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

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

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

    • toString

      public String toString()
      toString
      Overrides:
      toString in class KElement
      Returns:
      String
      See Also:
    • setErrorText

      @Deprecated public JDFNotification setErrorText(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
    • setErrorText

      public JDFNotification setErrorText(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
    • init

      public boolean init()
      Description copied from class: JDFMessage
      init
      Overrides:
      init in class JDFMessage
      Returns:
      true if ok
      See Also:
    • splitAcknowledge

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