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

java.lang.Object
  extended by org.mbari.siam.distributed.jddac.xml.MutableDoubleArrayTypeConverter
All Implemented Interfaces:
net.java.jddac.jmdi.comm.xml.ArgTypeConverter

public class MutableDoubleArrayTypeConverter
extends java.lang.Object
implements net.java.jddac.jmdi.comm.xml.ArgTypeConverter

Created by IntelliJ IDEA. User: brian Date: Apr 19, 2006 Time: 10:58:52 AM To change this template use File | Settings | File Templates.


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter
net.java.jddac.jmdi.comm.xml.ArgTypeConverter.TypePair
 
Field Summary
static java.lang.String XML_TAG
           
 
Constructor Summary
MutableDoubleArrayTypeConverter()
           
 
Method Summary
 java.lang.Object getComplexValue(java.lang.Object obj)
           
 int getLength(java.lang.Object o)
           
 java.lang.Object getObject(java.lang.String typeName, java.lang.Object value)
           
 java.lang.Object getObject(java.lang.String typeName, java.lang.String len, java.lang.String value)
           
 java.lang.String getScalarValue(java.lang.Object o)
           
 net.java.jddac.jmdi.comm.xml.ArgTypeConverter.TypePair[] getSupportedTypePairs()
           
 java.lang.String getTypeName(java.lang.Object o)
           
 boolean isComplexType(java.lang.Object o)
           
 boolean isVectorComplexType(java.lang.String typename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_TAG

public static final java.lang.String XML_TAG
See Also:
Constant Field Values
Constructor Detail

MutableDoubleArrayTypeConverter

public MutableDoubleArrayTypeConverter()
Method Detail

getTypeName

public java.lang.String getTypeName(java.lang.Object o)
                             throws java.lang.IllegalArgumentException
Specified by:
getTypeName in interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter
Throws:
java.lang.IllegalArgumentException

getLength

public int getLength(java.lang.Object o)
              throws java.lang.IllegalArgumentException
Specified by:
getLength in interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter
Throws:
java.lang.IllegalArgumentException

isComplexType

public boolean isComplexType(java.lang.Object o)
Specified by:
isComplexType in interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter

isVectorComplexType

public boolean isVectorComplexType(java.lang.String typename)
Specified by:
isVectorComplexType in interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter

getComplexValue

public java.lang.Object getComplexValue(java.lang.Object obj)
                                 throws java.lang.IllegalArgumentException
Specified by:
getComplexValue in interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter
Throws:
java.lang.IllegalArgumentException

getScalarValue

public java.lang.String getScalarValue(java.lang.Object o)
                                throws java.lang.IllegalArgumentException
Specified by:
getScalarValue in interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter
Throws:
java.lang.IllegalArgumentException

getObject

public java.lang.Object getObject(java.lang.String typeName,
                                  java.lang.String len,
                                  java.lang.String value)
                           throws java.lang.Exception
Specified by:
getObject in interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter
Throws:
java.lang.Exception

getObject

public java.lang.Object getObject(java.lang.String typeName,
                                  java.lang.Object value)
                           throws java.lang.Exception
Specified by:
getObject in interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter
Throws:
java.lang.Exception

getSupportedTypePairs

public net.java.jddac.jmdi.comm.xml.ArgTypeConverter.TypePair[] getSupportedTypePairs()
Specified by:
getSupportedTypePairs in interface net.java.jddac.jmdi.comm.xml.ArgTypeConverter


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.