jxUtil 0.6

org.sourceforge.jxutil.net.ddm.qddprmd
Class SCALAR

java.lang.Object
  |
  +--org.sourceforge.jxutil.net.ddm.qddprmd.DATA
        |
        +--org.sourceforge.jxutil.net.ddm.qddprmd.OBJECT
              |
              +--org.sourceforge.jxutil.net.ddm.qddprmd.SCALAR
Direct Known Subclasses:
BOOLEAN, FDODTA, MGRLVLLS, PKGNAM, PKGNAMCSN, PKGNAMCT, SRVLCNT, SRVLSRV

public abstract class SCALAR
extends OBJECT

Scalar Object. Scalar Object (SCALAR) describes the abstract class of all scalar objects. A scalar is a byte string onto which one or more data values have been mapped. Examples of simple scalars (having only a single data value) are binary numbers, character strings, Boolean, and names. Instances of mapped scalars must be encoded according to the sequence of the instance variables for the class. For example, the DATDR must be encoded year, month, day, hour, minute, second, millisecond, microsecond, nanosecond for a date and time or year, month, day for just a date. Another example is the MGRLVL which must be encoded codpnt, mgrlvln.


Field Summary
static short CP
          The Code Point.
 
Constructor Summary
SCALAR()
           
 
Method Summary
protected  void writeMembers(DDM ddm, DATA[] data)
          Convenience function to write the members in given order.
 
Methods inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.DATA
getCP, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CP

public static final short CP
The Code Point.

See Also:
Constant Field Values
Constructor Detail

SCALAR

public SCALAR()
Method Detail

writeMembers

protected void writeMembers(DDM ddm,
                            DATA[] data)
                     throws IOException
Convenience function to write the members in given order.

Parameters:
ddm - the DDM instance to write to.
data - the DATA members to write.
Throws:
IOException - if an I/O error occurs.

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.