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
ConstructorsConstructorDescriptionNATDocument
(com.automic.protocol.Message msg) Creates a newNATDocument
for a structured message. -
Method Summary
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
-
Constructor Details
-
NATDocument
public NATDocument(com.automic.protocol.Message msg) Creates a newNATDocument
for a structured message.- Parameters:
msg
- Structured message
-
-
Method Details
-
getMessage
public com.automic.protocol.Message getMessage()- Returns:
- NAT message
-