Package com.uc4.util

Class NATDocument

java.lang.Object
com.uc4.util.XMLDocument
com.uc4.util.NATDocument

public class NATDocument extends com.uc4.util.XMLDocument
This is only a sub class of XMLDocument in order to keep the API compatible and hide the fact that it now also sends messages in the NAT protocol instead of XML. For a user this should be an implementation detail.
  • Constructor Summary

    Constructors
    Constructor
    Description
    NATDocument(com.automic.protocol.Message msg)
    Creates a new NATDocument for a structured message.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.automic.protocol.Message
     

    Methods inherited from class com.uc4.util.XMLDocument

    adoptNode, appendCDataChild, appendTextChild, appendTextChild, appendTextChild, compare, countChildElements, createCDATASection, createElement, createTextNode, document, getBooleanAttributeValue, getBooleanValue, getDocumentElement, getElementsByTagName, getIntAttributeValue, getNodeValue, getNodeValueInt, getNodeValueInt, getNodeValueLong, getNodeValueLong, importNode, setAttribute, setBooleanAttributeValue, setIfInitial

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NATDocument

      public NATDocument(com.automic.protocol.Message msg)
      Creates a new NATDocument for a structured message.
      Parameters:
      msg - Structured message
  • Method Details

    • getMessage

      public com.automic.protocol.Message getMessage()
      Returns:
      NAT message