net.sf.cb2java.copybook
Class Binary.Native

java.lang.Object
  extended bynet.sf.cb2java.copybook.Element
      extended bynet.sf.cb2java.copybook.Leaf
          extended bynet.sf.cb2java.copybook.Numeric
              extended bynet.sf.cb2java.copybook.Binary
                  extended bynet.sf.cb2java.copybook.Binary.Native
Enclosing class:
Binary

public static class Binary.Native
extends Binary


Nested Class Summary
 
Nested classes inherited from class net.sf.cb2java.copybook.Binary
Binary.Native
 
Constructor Summary
protected Binary.Native(java.lang.String name, int level, int occurs, java.lang.String picture)
           
 
Method Summary
 byte[] toBytes(java.lang.Object data)
          converts the supplied data to bytes
 
Methods inherited from class net.sf.cb2java.copybook.Binary
digits, getLength, getLength, reverse
 
Methods inherited from class net.sf.cb2java.copybook.Numeric
createEx, createEx, decimalPlaces, getChildren, getFormatObject, getUnscaled, getValue, signed, validate
 
Methods inherited from class net.sf.cb2java.copybook.Element
getBytes, getLevel, getName, getOccurs, getPosition, getString, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Binary.Native

protected Binary.Native(java.lang.String name,
                        int level,
                        int occurs,
                        java.lang.String picture)
Method Detail

toBytes

public byte[] toBytes(java.lang.Object data)
Description copied from class: Element
converts the supplied data to bytes

Overrides:
toBytes in class Binary