Package com.uc4.util

Class 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.automic.protocol.Message getMessage()  
      • 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 Detail

      • NATDocument

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

      • getMessage

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