org.mbari.siam.distributed.jddac.xml
Class XmlCoder

java.lang.Object
  extended by org.mbari.siam.distributed.jddac.xml.Coder
      extended by org.mbari.siam.distributed.jddac.xml.XmlCoder

public class XmlCoder
extends Coder

Encodes an ArgArray as XML. Numbers are formatted using upto 4 decimal places; longer values are rounded to conserve on transmission bandwidth.

Version:
$Id: XmlCoder.java,v 1.1 2008/11/04 22:17:52 bobh Exp $
Author:
Brian Schlining

Constructor Summary
XmlCoder()
           
 
Method Summary
 java.lang.String encode(net.java.jddac.common.type.ArgArray argArray)
          Encodes an ArgArray as XML
 
Methods inherited from class org.mbari.siam.distributed.jddac.xml.Coder
decode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlCoder

public XmlCoder()
Method Detail

encode

public java.lang.String encode(net.java.jddac.common.type.ArgArray argArray)
Encodes an ArgArray as XML

Overrides:
encode in class Coder
Parameters:
argArray - The argarray to encode
Returns:
The ArgArray encoded as XML


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.