certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] jcerti/src/hla/rti1516e/jlc DataElementBase.jav...


From: CERTI CVS commits
Subject: [certi-cvs] jcerti/src/hla/rti1516e/jlc DataElementBase.jav...
Date: Wed, 14 Dec 2011 13:19:27 +0000

CVSROOT:        /sources/certi
Module name:    jcerti
Changes by:     Eric NOULARD <erk>      11/12/14 13:19:27

Modified files:
        src/hla/rti1516e/jlc: DataElementBase.java EncoderFactory.java 
Added files:
        src/hla/rti1516e/jlc: BasicHLAoctetImpl.java 
                              HLAASCIIstringImpl.java 
                              BasicHLAinteger32LEImpl.java 
                              HLAunicodeCharImpl.java 
                              BasicHLAinteger64LEImpl.java 
                              BasicHLAfloat32BEImpl.java 
                              BasicHLAinteger32BEImpl.java 
                              BasicHLAbyteImpl.java 
                              BasicHLAoctetPairBEImpl.java 
                              BasicHLAoctetPairLEImpl.java 
                              BasicHLAinteger64BEImpl.java 
                              BasicHLAfloat32LEImpl.java 
                              BasicHLAinteger16LEImpl.java 
                              BasicHLAfloat64LEImpl.java 
                              BasicHLAinteger16BEImpl.java 
                              HLAunicodeStringImpl.java 
                              HLAASCIIcharImpl.java 
                              BasicHLAfloat64BEImpl.java 
                              HLAbooleanImpl.java 
Removed files:
        src/hla/rti1516e/jlc: HLAASCIIstring.java BasicHLAbyte.java 
                              BasicHLAinteger64LE.java 
                              BasicHLAinteger64BE.java 
                              BasicHLAinteger32LE.java 
                              BasicHLAfloat64LE.java 
                              BasicHLAinteger16LE.java 
                              BasicHLAfloat64BE.java 
                              BasicHLAinteger32BE.java 
                              HLAunicodeChar.java 
                              BasicHLAinteger16BE.java 
                              BasicHLAoctet.java 
                              BasicHLAoctetPairBE.java HLAboolean.java 
                              BasicHLAfloat32LE.java 
                              BasicHLAoctetPairLE.java 
                              HLAunicodeString.java 
                              BasicHLAfloat32BE.java HLAASCIIchar.java 

Log message:
        Add some more type and rename to avoid name clash wiht interface

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/DataElementBase.java?cvsroot=certi&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/EncoderFactory.java?cvsroot=certi&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAoctetImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAASCIIstringImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger32LEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAunicodeCharImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger64LEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAfloat32BEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger32BEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAbyteImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAoctetPairBEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAoctetPairLEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger64BEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAfloat32LEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger16LEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAfloat64LEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger16BEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAunicodeStringImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAASCIIcharImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAfloat64BEImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAbooleanImpl.java?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAASCIIstring.java?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAbyte.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger64LE.java?cvsroot=certi&r1=1.3&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger64BE.java?cvsroot=certi&r1=1.3&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger32LE.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAfloat64LE.java?cvsroot=certi&r1=1.3&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger16LE.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAfloat64BE.java?cvsroot=certi&r1=1.3&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger32BE.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAunicodeChar.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAinteger16BE.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAoctet.java?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAoctetPairBE.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAboolean.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAfloat32LE.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAoctetPairLE.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAunicodeString.java?cvsroot=certi&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/BasicHLAfloat32BE.java?cvsroot=certi&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/jcerti/src/hla/rti1516e/jlc/HLAASCIIchar.java?cvsroot=certi&r1=1.1&r2=0

Patches:
Index: DataElementBase.java
===================================================================
RCS file: /sources/certi/jcerti/src/hla/rti1516e/jlc/DataElementBase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- DataElementBase.java        13 Dec 2011 23:53:34 -0000      1.2
+++ DataElementBase.java        14 Dec 2011 13:19:22 -0000      1.3
@@ -25,7 +25,6 @@
 
 public abstract class DataElementBase implements DataElement {
 
-    @Override
     public byte[] toByteArray() throws EncoderException {
         ByteWrapper bw = new ByteWrapper(getEncodedLength());
         encode(bw);

Index: EncoderFactory.java
===================================================================
RCS file: /sources/certi/jcerti/src/hla/rti1516e/jlc/EncoderFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- EncoderFactory.java 14 Dec 2011 00:05:45 -0000      1.3
+++ EncoderFactory.java 14 Dec 2011 13:19:26 -0000      1.4
@@ -30,240 +30,238 @@
        return CERTI_ENCODER_FACTORY;
     }
 
-    @Override
+    
     public HLAASCIIchar createHLAASCIIchar() {
-        return new HLAASCIIchar();
+        return new HLAASCIIcharImpl();
     }
 
-    @Override
+    
     public HLAASCIIchar createHLAASCIIchar(byte b) {
-        return new HLAASCIIchar(b);
+        return new HLAASCIIcharImpl(b);
     }
 
-    @Override
+    
     public HLAASCIIstring createHLAASCIIstring() {
-        // TODO Auto-generated method stub
-        return null;
+        return new HLAASCIIstringImpl();
     }
 
-    @Override
+    
     public HLAASCIIstring createHLAASCIIstring(String s) {
-        // TODO Auto-generated method stub
-        return null;
+        return new HLAASCIIstringImpl(s);
     }
 
-    @Override
+    
     public HLAboolean createHLAboolean() {
-        return new HLAboolean();
+        return new HLAbooleanImpl();
     }
 
-    @Override
+    
     public HLAboolean createHLAboolean(boolean b) {
-        return new HLAboolean(b);
+        return new HLAbooleanImpl(b);
     }
 
-    @Override
+    
     public HLAbyte createHLAbyte() {
-        return new BasicHLAbyte();
+        return new BasicHLAbyteImpl();
     }
 
-    @Override
+    
     public HLAbyte createHLAbyte(byte b) {
-        return new BasicHLAbyte(b);
+        return new BasicHLAbyteImpl(b);
     }
 
-    @Override
+    
     public <T extends DataElement> HLAvariantRecord<T> createHLAvariantRecord(
             T discriminant) {
         // TODO Auto-generated method stub
         return null;
     }
 
-    @Override
+    
     public HLAfixedRecord createHLAfixedRecord() {
         // TODO Auto-generated method stub
         return null;
     }
 
-    @Override
+    
     public <T extends DataElement> HLAfixedArray<T> createHLAfixedArray(
             DataElementFactory<T> factory, int size) {
         // TODO Auto-generated method stub
         return null;
     }
 
-    @Override
+    
     public <T extends DataElement> HLAfixedArray<T> createHLAfixedArray(
             T... elements) {
         // TODO Auto-generated method stub
         return null;
     }
 
-    @Override
+    
     public HLAfloat32BE createHLAfloat32BE() {
-        return new BasicHLAfloat32BE();
+        return new BasicHLAfloat32BEImpl();
     }
 
-    @Override
+    
     public HLAfloat32BE createHLAfloat32BE(float f) {
-        return new BasicHLAfloat32BE(f);
+        return new BasicHLAfloat32BEImpl(f);
     }
 
-    @Override
+    
     public HLAfloat32LE createHLAfloat32LE() {
-        return new BasicHLAfloat32LE();
+        return new BasicHLAfloat32LEImpl();
     }
 
-    @Override
+    
     public HLAfloat32LE createHLAfloat32LE(float f) {
-        return new BasicHLAfloat32LE(f);
+        return new BasicHLAfloat32LEImpl(f);
     }
 
-    @Override
+    
     public HLAfloat64BE createHLAfloat64BE() {
-        return new BasicHLAfloat64BE();
+        return new BasicHLAfloat64BEImpl();
     }
 
-    @Override
+    
     public HLAfloat64BE createHLAfloat64BE(double d) {
-        return new BasicHLAfloat64BE(d);
+        return new BasicHLAfloat64BEImpl(d);
     }
 
-    @Override
+    
     public HLAfloat64LE createHLAfloat64LE() {
-        return new BasicHLAfloat64LE();
+        return new BasicHLAfloat64LEImpl();
     }
 
-    @Override
+    
     public HLAfloat64LE createHLAfloat64LE(double d) {
-        return new BasicHLAfloat64LE(d);
+        return new BasicHLAfloat64LEImpl(d);
     }
 
-    @Override
+    
     public HLAinteger16BE createHLAinteger16BE() {
-        return new BasicHLAinteger16BE();
+        return new BasicHLAinteger16BEImpl();
     }
 
-    @Override
+    
     public HLAinteger16BE createHLAinteger16BE(short s) {
-        return new BasicHLAinteger16BE(s);
+        return new BasicHLAinteger16BEImpl(s);
     }
 
-    @Override
+    
     public HLAinteger16LE createHLAinteger16LE() {
-        return new BasicHLAinteger16LE();
+        return new BasicHLAinteger16LEImpl();
     }
 
-    @Override
+    
     public HLAinteger16LE createHLAinteger16LE(short s) {
-        return new BasicHLAinteger16LE(s);
+        return new BasicHLAinteger16LEImpl(s);
     }
 
-    @Override
+    
     public HLAinteger32BE createHLAinteger32BE() {
-        return new BasicHLAinteger32BE();
+        return new BasicHLAinteger32BEImpl();
     }
 
-    @Override
+    
     public HLAinteger32BE createHLAinteger32BE(int i) {
-        return new BasicHLAinteger32BE(i);
+        return new BasicHLAinteger32BEImpl(i);
     }
 
-    @Override
+    
     public HLAinteger32LE createHLAinteger32LE() {
-        return new BasicHLAinteger32LE();
+        return new BasicHLAinteger32LEImpl();
     }
 
-    @Override
+    
     public HLAinteger32LE createHLAinteger32LE(int i) {
-        return new BasicHLAinteger32LE(i);
+        return new BasicHLAinteger32LEImpl(i);
     }
 
-    @Override
+    
     public HLAinteger64BE createHLAinteger64BE() {
-        return new BasicHLAinteger64BE();
+        return new BasicHLAinteger64BEImpl();
     }
 
-    @Override
+    
     public HLAinteger64BE createHLAinteger64BE(long l) {
-        return new BasicHLAinteger64BE(l);
+        return new BasicHLAinteger64BEImpl(l);
     }
 
-    @Override
+    
     public HLAinteger64LE createHLAinteger64LE() {
-        return new BasicHLAinteger64LE();
+        return new BasicHLAinteger64LEImpl();
     }
 
-    @Override
+    
     public HLAinteger64LE createHLAinteger64LE(long l) {
-        return new BasicHLAinteger64LE(l);
+        return new BasicHLAinteger64LEImpl(l);
     }
 
-    @Override
+    
     public HLAoctet createHLAoctet() {
-        return new BasicHLAoctet();
+        return new BasicHLAoctetImpl();
     }
 
-    @Override
+    
     public HLAoctet createHLAoctet(byte b) {
-        return new BasicHLAoctet(b);
+        return new BasicHLAoctetImpl(b);
     }
 
-    @Override
+    
     public HLAoctetPairBE createHLAoctetPairBE() {
-       return new BasicHLAoctetPairBE();
+       return new BasicHLAoctetPairBEImpl();
     }
 
-    @Override
+    
     public HLAoctetPairBE createHLAoctetPairBE(short s) {
-        return new BasicHLAoctetPairBE(s);
+        return new BasicHLAoctetPairBEImpl(s);
     }
 
-    @Override
+    
     public HLAoctetPairLE createHLAoctetPairLE() {
-        return new BasicHLAoctetPairLE();
+        return new BasicHLAoctetPairLEImpl();
     }
 
-    @Override
+    
     public HLAoctetPairLE createHLAoctetPairLE(short s) {
-        return new BasicHLAoctetPairLE(s);
+        return new BasicHLAoctetPairLEImpl(s);
     }
 
-    @Override
+    
     public HLAopaqueData createHLAopaqueData() {
         // TODO Auto-generated method stub
         return null;
     }
 
-    @Override
+    
     public HLAopaqueData createHLAopaqueData(byte[] b) {
         // TODO Auto-generated method stub
         return null;
     }
 
-    @Override
+    
     public HLAunicodeChar createHLAunicodeChar() {
-        return new HLAunicodeChar();
+        return new HLAunicodeCharImpl();
     }
 
-    @Override
+    
     public HLAunicodeChar createHLAunicodeChar(short c) {
-        return new HLAunicodeChar(c);
+        return new HLAunicodeCharImpl(c);
     }
 
-    @Override
+    
     public HLAunicodeString createHLAunicodeString() {
         // TODO Auto-generated method stub
         return null;
     }
 
-    @Override
+    
     public HLAunicodeString createHLAunicodeString(String s) {
         // TODO Auto-generated method stub
         return null;
     }
 
-    @Override
+    
     public <T extends DataElement> HLAvariableArray<T> createHLAvariableArray(
             DataElementFactory<T> factory, T... elements) {
         // TODO Auto-generated method stub

Index: BasicHLAoctetImpl.java
===================================================================
RCS file: BasicHLAoctetImpl.java
diff -N BasicHLAoctetImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAoctetImpl.java      14 Dec 2011 13:19:21 -0000      1.1
@@ -0,0 +1,74 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+
+public class BasicHLAoctetImpl extends DataElementBase implements
+        hla.rti1516e.encoding.HLAoctet {
+    private byte value;
+    
+    public BasicHLAoctetImpl(byte value) {
+        this.value = value;
+    }
+    
+    public BasicHLAoctetImpl() {
+        value = 0;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 1;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byteWrapper.put(value);
+    }
+
+    
+    public int getEncodedLength() {
+        return 1;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        value = (byte)byteWrapper.get();
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value = bytes[0];
+    }
+    
+    
+    public byte getValue() {
+        return value;
+    }
+
+    
+    public void setValue(byte value) {
+        this.value = value;
+    }
+}

Index: HLAASCIIstringImpl.java
===================================================================
RCS file: HLAASCIIstringImpl.java
diff -N HLAASCIIstringImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ HLAASCIIstringImpl.java     14 Dec 2011 13:19:21 -0000      1.1
@@ -0,0 +1,92 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import java.io.UnsupportedEncodingException;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+
+public class HLAASCIIstringImpl extends DataElementBase implements
+        hla.rti1516e.encoding.HLAASCIIstring {
+    
+    private String value;
+    private static final String CHARACTER_SET = "ISO-8859-1";
+
+    public HLAASCIIstringImpl() {
+        value = "";
+    }
+    
+    public HLAASCIIstringImpl(String s) {
+        value = (null!=s ? s: "");
+    }
+    
+    public int getOctetBoundary() {
+        return 4;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byte[] content;
+        
+        try {
+            content = value.getBytes(CHARACTER_SET);
+        } catch (UnsupportedEncodingException e) {
+            throw new EncoderException("Character Set not handled",e);
+        }
+        byteWrapper.putInt(value.length());
+        byteWrapper.put(content);
+    }
+
+    
+    public int getEncodedLength() {
+        return 4  + value.length();
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        int len = byteWrapper.getInt();
+        byte content[] = new byte[len];
+        try {
+            value = new String(content,CHARACTER_SET);
+        } catch (UnsupportedEncodingException e) {
+            throw new DecoderException("Character Set not Handled",e);
+        }
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        throw new DecoderException("NOT IMPLEMENTED");
+    }
+
+    
+    public String getValue() {
+        return value;
+    }
+
+    
+    public void setValue(String value) {
+        this.value = value; 
+    }
+
+}

Index: BasicHLAinteger32LEImpl.java
===================================================================
RCS file: BasicHLAinteger32LEImpl.java
diff -N BasicHLAinteger32LEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAinteger32LEImpl.java        14 Dec 2011 13:19:21 -0000      1.1
@@ -0,0 +1,88 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAinteger32LE;
+
+public class BasicHLAinteger32LEImpl extends DataElementBase implements
+        HLAinteger32LE {
+
+    private int value;
+    
+    public BasicHLAinteger32LEImpl() {
+        value = 0;
+    }
+    
+    public BasicHLAinteger32LEImpl(int value) {
+        this.value = value;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 4;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byteWrapper.put((int)(value >>>  0) & 0xFF);
+        byteWrapper.put((int)(value >>>  8) & 0xFF);
+        byteWrapper.put((int)(value >>> 16) & 0xFF);
+        byteWrapper.put((int)(value >>> 24) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 4;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        value  = 0;
+        value += (int)((byteWrapper.get() & 0xFF) <<  0);
+        value += (int)((byteWrapper.get() & 0xFF) <<  8);
+        value += (int)((byteWrapper.get() & 0xFF) << 16);
+        value += (int)((byteWrapper.get() & 0xFF) << 24);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value  = 0;
+        value += (int)((bytes[0] & 0xFF) <<  0);
+        value += (int)((bytes[1] & 0xFF) <<  8);
+        value += (int)((bytes[2] & 0xFF) << 16);
+        value += (int)((bytes[3] & 0xFF) << 24);
+    }
+
+    
+    public int getValue() {
+        return value;
+    }
+
+    
+    public void setValue(int value) {
+        this.value = value;
+    }
+
+}

Index: HLAunicodeCharImpl.java
===================================================================
RCS file: HLAunicodeCharImpl.java
diff -N HLAunicodeCharImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ HLAunicodeCharImpl.java     14 Dec 2011 13:19:22 -0000      1.1
@@ -0,0 +1,74 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+
+public class HLAunicodeCharImpl extends DataElementBase implements
+        hla.rti1516e.encoding.HLAunicodeChar {
+
+    private BasicHLAoctetPairBEImpl value;
+    
+    public HLAunicodeCharImpl() {
+        value = new BasicHLAoctetPairBEImpl();
+    }
+    
+    public HLAunicodeCharImpl(short c) {
+        value = new BasicHLAoctetPairBEImpl(c);
+    }
+    
+    
+    public int getOctetBoundary() {
+        return value.getOctetBoundary();
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        value.encode(byteWrapper);
+    }
+
+    
+    public int getEncodedLength() {
+        return value.getEncodedLength();
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        value.decode(byteWrapper);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value.decode(bytes);
+    }
+
+    
+    public short getValue() {
+        return value.getValue();
+    }
+
+    
+    public void setValue(short value) {
+        this.value.setValue(value);
+    }
+
+}

Index: BasicHLAinteger64LEImpl.java
===================================================================
RCS file: BasicHLAinteger64LEImpl.java
diff -N BasicHLAinteger64LEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAinteger64LEImpl.java        14 Dec 2011 13:19:22 -0000      1.1
@@ -0,0 +1,100 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAinteger64LE;
+
+public class BasicHLAinteger64LEImpl extends DataElementBase implements
+        HLAinteger64LE {
+
+    private long value;
+    
+    public BasicHLAinteger64LEImpl() {
+        value = 0L;
+    }
+    
+    public BasicHLAinteger64LEImpl(long value) {
+        this.value = value;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 8;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byteWrapper.put((int)(value >>>  0) & 0xFF);
+        byteWrapper.put((int)(value >>>  8) & 0xFF);
+        byteWrapper.put((int)(value >>> 16) & 0xFF);
+        byteWrapper.put((int)(value >>> 24) & 0xFF);
+        byteWrapper.put((int)(value >>> 32) & 0xFF);
+        byteWrapper.put((int)(value >>> 40) & 0xFF);
+        byteWrapper.put((int)(value >>> 48) & 0xFF);
+        byteWrapper.put((int)(value >>> 56) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 8;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        value  = 0L;
+        value += (long)((byteWrapper.get() & 0xFF) <<  0);
+        value += (long)((byteWrapper.get() & 0xFF) <<  8);
+        value += (long)((byteWrapper.get() & 0xFF) << 16);
+        value += (long)((byteWrapper.get() & 0xFF) << 24);
+        value += (long)((byteWrapper.get() & 0xFF) << 32);
+        value += (long)((byteWrapper.get() & 0xFF) << 40);
+        value += (long)((byteWrapper.get() & 0xFF) << 48);
+        value += (long)((byteWrapper.get() & 0xFF) << 56);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value  = 0L;
+        value += (long)((bytes[0] & 0xFF) <<  0);
+        value += (long)((bytes[1] & 0xFF) <<  8);
+        value += (long)((bytes[2] & 0xFF) << 16);
+        value += (long)((bytes[3] & 0xFF) << 24);
+        value += (long)((bytes[4] & 0xFF) << 32);
+        value += (long)((bytes[5] & 0xFF) << 40);
+        value += (long)((bytes[6] & 0xFF) << 48);
+        value += (long)((bytes[7] & 0xFF) << 56);
+    }
+
+    
+    public long getValue() {
+        return value;
+    }
+
+    
+    public void setValue(long value) {
+        this.value = value;
+    }
+
+}

Index: BasicHLAfloat32BEImpl.java
===================================================================
RCS file: BasicHLAfloat32BEImpl.java
diff -N BasicHLAfloat32BEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAfloat32BEImpl.java  14 Dec 2011 13:19:22 -0000      1.1
@@ -0,0 +1,93 @@
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAfloat32BE;
+
+//----------------------------------------------------------------------------
+//CERTI - HLA RunTime Infrastructure
+//Copyright (C) 2011 Eric Noulard
+//
+//This program is free software ; you can redistribute it and/or
+//modify it under the terms of the GNU Lesser General Public License
+//as published by the Free Software Foundation ; either version 2 of
+//the License, or (at your option) any later version.
+//
+//This program is distributed in the hope that it will be useful, but
+//WITHOUT ANY WARRANTY ; without even the implied warranty of
+//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+//Lesser General Public License for more details.
+//
+//You should have received a copy of the GNU Lesser General Public
+//License along with this program ; if not, write to the Free Software
+//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+//----------------------------------------------------------------------------
+public class BasicHLAfloat32BEImpl extends DataElementBase implements 
HLAfloat32BE {
+
+    private float value;
+    
+    public BasicHLAfloat32BEImpl() {
+        value = 0.0f;
+    }
+    
+    public BasicHLAfloat32BEImpl(float f) {
+        value = f;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 4;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        int f_as_i = Float.floatToIntBits(value);
+        byteWrapper.put((int)(f_as_i >>> 24) & 0xFF);
+        byteWrapper.put((int)(f_as_i >>> 16) & 0xFF);
+        byteWrapper.put((int)(f_as_i >>>  8) & 0xFF);
+        byteWrapper.put((int)(f_as_i >>>  0) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 4;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        int f_as_i;
+        f_as_i  = 0;
+        f_as_i += (int)((byteWrapper.get() & 0xFF) << 24);
+        f_as_i += (int)((byteWrapper.get() & 0xFF) << 16);
+        f_as_i += (int)((byteWrapper.get() & 0xFF) <<  8);
+        f_as_i += (int)((byteWrapper.get() & 0xFF) <<  0);
+        value = Float.intBitsToFloat(f_as_i);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        
+        int f_as_i;
+        f_as_i  = 0;
+        f_as_i += (long)((bytes[4] & 0xFF) << 24);
+        f_as_i += (long)((bytes[5] & 0xFF) << 16);
+        f_as_i += (long)((bytes[6] & 0xFF) <<  8);
+        f_as_i += (long)((bytes[7] & 0xFF) <<  0);
+        value = Float.intBitsToFloat(f_as_i);
+    }
+
+    
+    public float getValue() {
+        return value;
+    }
+
+    
+    public void setValue(float value) {
+        this.value = value;
+    }
+
+}

Index: BasicHLAinteger32BEImpl.java
===================================================================
RCS file: BasicHLAinteger32BEImpl.java
diff -N BasicHLAinteger32BEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAinteger32BEImpl.java        14 Dec 2011 13:19:23 -0000      1.1
@@ -0,0 +1,88 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAinteger32BE;
+
+public class BasicHLAinteger32BEImpl extends DataElementBase implements
+        HLAinteger32BE {
+
+    private int value;
+    
+    public BasicHLAinteger32BEImpl() {
+        value = 0;
+    }
+    
+    public BasicHLAinteger32BEImpl(int value) {
+        this.value = value;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 4;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byteWrapper.put((int)(value >>> 24) & 0xFF);
+        byteWrapper.put((int)(value >>> 16) & 0xFF);
+        byteWrapper.put((int)(value >>>  8) & 0xFF);
+        byteWrapper.put((int)(value >>>  0) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 4;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        value  = 0;
+        value += (int)((byteWrapper.get() & 0xFF) << 24);
+        value += (int)((byteWrapper.get() & 0xFF) << 16);
+        value += (int)((byteWrapper.get() & 0xFF) <<  8);
+        value += (int)((byteWrapper.get() & 0xFF) <<  0);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value  = 0;
+        value += (int)((bytes[4] & 0xFF) << 24);
+        value += (int)((bytes[5] & 0xFF) << 16);
+        value += (int)((bytes[6] & 0xFF) <<  8);
+        value += (int)((bytes[7] & 0xFF) <<  0);
+    }
+
+    
+    public int getValue() {
+        return value;
+    }
+
+    
+    public void setValue(int value) {
+        this.value = value;
+    }
+
+}

Index: BasicHLAbyteImpl.java
===================================================================
RCS file: BasicHLAbyteImpl.java
diff -N BasicHLAbyteImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAbyteImpl.java       14 Dec 2011 13:19:23 -0000      1.1
@@ -0,0 +1,74 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+
+public class BasicHLAbyteImpl extends DataElementBase implements
+        hla.rti1516e.encoding.HLAbyte {
+
+    private BasicHLAoctetImpl value;
+    
+    public BasicHLAbyteImpl() {
+        value = new BasicHLAoctetImpl();
+    }
+    
+    public BasicHLAbyteImpl(byte b) {
+        value = new BasicHLAoctetImpl(b);
+    }
+
+    
+    public int getOctetBoundary() {
+        return value.getOctetBoundary();
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        value.encode(byteWrapper);
+    }
+
+    
+    public int getEncodedLength() {
+        return value.getEncodedLength();
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        value.decode(byteWrapper);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value.decode(bytes);
+    }
+
+    
+    public byte getValue() {
+        return value.getValue();
+    }
+
+    
+    public void setValue(byte value) {
+        this.value.setValue(value);
+    }
+
+}

Index: BasicHLAoctetPairBEImpl.java
===================================================================
RCS file: BasicHLAoctetPairBEImpl.java
diff -N BasicHLAoctetPairBEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAoctetPairBEImpl.java        14 Dec 2011 13:19:23 -0000      1.1
@@ -0,0 +1,82 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAoctetPairBE;
+
+public class BasicHLAoctetPairBEImpl extends DataElementBase implements
+        HLAoctetPairBE {
+
+    private short value;
+    
+    public BasicHLAoctetPairBEImpl() {
+        value = 0;
+    }
+    
+    public BasicHLAoctetPairBEImpl(short value) {
+        this.value = value;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 2;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byteWrapper.put((int)(value >>>  8) & 0xFF);
+        byteWrapper.put((int)(value >>>  0) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 2;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        value  = 0;
+        value += (short)((byteWrapper.get() & 0xFF) <<  8);
+        value += (short)((byteWrapper.get() & 0xFF) <<  0);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value  = 0;
+        value += (short)((bytes[0] & 0xFF) <<  8);
+        value += (short)((bytes[1] & 0xFF) <<  0);
+    }
+
+    
+    public short getValue() {
+        return value;
+    }
+
+    
+    public void setValue(short value) {
+        this.value = value;
+    }
+
+}

Index: BasicHLAoctetPairLEImpl.java
===================================================================
RCS file: BasicHLAoctetPairLEImpl.java
diff -N BasicHLAoctetPairLEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAoctetPairLEImpl.java        14 Dec 2011 13:19:24 -0000      1.1
@@ -0,0 +1,82 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAoctetPairLE;
+
+public class BasicHLAoctetPairLEImpl extends DataElementBase implements
+        HLAoctetPairLE {
+
+    private short value;
+    
+    public BasicHLAoctetPairLEImpl() {
+        value = 0;
+    }
+    
+    public BasicHLAoctetPairLEImpl(short value) {
+        this.value = value;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 2;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byteWrapper.put((int)(value >>>  0) & 0xFF);
+        byteWrapper.put((int)(value >>>  8) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 2;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        value  = 0;
+        value += (short)((byteWrapper.get() & 0xFF) <<  0);
+        value += (short)((byteWrapper.get() & 0xFF) <<  8);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value  = 0;
+        value += (short)((bytes[0] & 0xFF) <<  0);
+        value += (short)((bytes[1] & 0xFF) <<  8);
+    }
+
+    
+    public short getValue() {
+        return value;
+    }
+
+    
+    public void setValue(short value) {
+        this.value = value;
+    }
+
+}

Index: BasicHLAinteger64BEImpl.java
===================================================================
RCS file: BasicHLAinteger64BEImpl.java
diff -N BasicHLAinteger64BEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAinteger64BEImpl.java        14 Dec 2011 13:19:24 -0000      1.1
@@ -0,0 +1,100 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAinteger64BE;
+
+public class BasicHLAinteger64BEImpl extends DataElementBase implements
+        HLAinteger64BE {
+
+    private long value;
+    
+    public BasicHLAinteger64BEImpl() {
+        value = 0L;
+    }
+    
+    public BasicHLAinteger64BEImpl(long value) {
+        this.value = value;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 8;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byteWrapper.put((int)(value >>> 56) & 0xFF);
+        byteWrapper.put((int)(value >>> 48) & 0xFF);
+        byteWrapper.put((int)(value >>> 40) & 0xFF);
+        byteWrapper.put((int)(value >>> 32) & 0xFF);
+        byteWrapper.put((int)(value >>> 24) & 0xFF);
+        byteWrapper.put((int)(value >>> 16) & 0xFF);
+        byteWrapper.put((int)(value >>>  8) & 0xFF);
+        byteWrapper.put((int)(value >>>  0) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 8;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        value  = 0L;
+        value += (long)((byteWrapper.get() & 0xFF) << 56);
+        value += (long)((byteWrapper.get() & 0xFF) << 48);
+        value += (long)((byteWrapper.get() & 0xFF) << 40);
+        value += (long)((byteWrapper.get() & 0xFF) << 32);
+        value += (long)((byteWrapper.get() & 0xFF) << 24);
+        value += (long)((byteWrapper.get() & 0xFF) << 16);
+        value += (long)((byteWrapper.get() & 0xFF) <<  8);
+        value += (long)((byteWrapper.get() & 0xFF) <<  0);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value  = 0L;
+        value += (long)((bytes[0] & 0xFF) << 56);
+        value += (long)((bytes[1] & 0xFF) << 48);
+        value += (long)((bytes[2] & 0xFF) << 40);
+        value += (long)((bytes[3] & 0xFF) << 32);
+        value += (long)((bytes[4] & 0xFF) << 24);
+        value += (long)((bytes[5] & 0xFF) << 16);
+        value += (long)((bytes[6] & 0xFF) <<  8);
+        value += (long)((bytes[7] & 0xFF) <<  0);
+    }
+
+    
+    public long getValue() {
+        return value;
+    }
+
+    
+    public void setValue(long value) {
+        this.value = value;
+    }
+
+}

Index: BasicHLAfloat32LEImpl.java
===================================================================
RCS file: BasicHLAfloat32LEImpl.java
diff -N BasicHLAfloat32LEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAfloat32LEImpl.java  14 Dec 2011 13:19:24 -0000      1.1
@@ -0,0 +1,93 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAfloat32LE;
+
+public class BasicHLAfloat32LEImpl extends DataElementBase implements 
HLAfloat32LE {
+
+    private float value;
+    
+    public BasicHLAfloat32LEImpl() {
+        value = 0.0f;
+    }
+    
+    public BasicHLAfloat32LEImpl(float f) {
+        value = f;
+    }
+
+    
+    public int getOctetBoundary() {
+        return 4;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        int f_as_i = Float.floatToIntBits(value);
+        byteWrapper.put((int)(f_as_i >>>  0) & 0xFF);
+        byteWrapper.put((int)(f_as_i >>>  8) & 0xFF);
+        byteWrapper.put((int)(f_as_i >>> 16) & 0xFF);
+        byteWrapper.put((int)(f_as_i >>> 24) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 4;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        int f_as_i;
+        f_as_i  = 0;
+        f_as_i += (int)((byteWrapper.get() & 0xFF) <<  0);
+        f_as_i += (int)((byteWrapper.get() & 0xFF) <<  8);
+        f_as_i += (int)((byteWrapper.get() & 0xFF) << 16);
+        f_as_i += (int)((byteWrapper.get() & 0xFF) << 24);
+        value = Float.intBitsToFloat(f_as_i);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        
+        int f_as_i;
+        f_as_i  = 0;
+        f_as_i += (int)((bytes[0] & 0xFF) <<  0);
+        f_as_i += (int)((bytes[1] & 0xFF) <<  8);
+        f_as_i += (int)((bytes[2] & 0xFF) << 16);
+        f_as_i += (int)((bytes[3] & 0xFF) << 24);
+        value = Float.intBitsToFloat(f_as_i);
+    }
+
+    
+    public float getValue() {
+        return value;
+    }
+
+    
+    public void setValue(float value) {
+        this.value = value;
+    }
+
+}

Index: BasicHLAinteger16LEImpl.java
===================================================================
RCS file: BasicHLAinteger16LEImpl.java
diff -N BasicHLAinteger16LEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAinteger16LEImpl.java        14 Dec 2011 13:19:25 -0000      1.1
@@ -0,0 +1,82 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAinteger16LE;
+
+public class BasicHLAinteger16LEImpl extends DataElementBase implements
+        HLAinteger16LE {
+
+    private short value;
+    
+    public BasicHLAinteger16LEImpl() {
+        value = 0;
+    }
+    
+    public BasicHLAinteger16LEImpl(short value) {
+        this.value = value;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 2;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byteWrapper.put((int)(value >>>  0) & 0xFF);
+        byteWrapper.put((int)(value >>>  8) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 2;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        value  = 0;
+        value += (short)((byteWrapper.get() & 0xFF) <<  0);
+        value += (short)((byteWrapper.get() & 0xFF) <<  8);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value  = 0;
+        value += (short)((bytes[0] & 0xFF) <<  0);
+        value += (short)((bytes[1] & 0xFF) <<  8);
+    }
+
+    
+    public short getValue() {
+        return value;
+    }
+
+    
+    public void setValue(short value) {
+        this.value = value;
+    }
+
+}

Index: BasicHLAfloat64LEImpl.java
===================================================================
RCS file: BasicHLAfloat64LEImpl.java
diff -N BasicHLAfloat64LEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAfloat64LEImpl.java  14 Dec 2011 13:19:25 -0000      1.1
@@ -0,0 +1,105 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAfloat64LE;
+
+public class BasicHLAfloat64LEImpl extends DataElementBase implements 
HLAfloat64LE {
+
+    private double value;
+    
+    public BasicHLAfloat64LEImpl() {
+        value = 0.0;
+    }
+    
+    public BasicHLAfloat64LEImpl(double d) {
+        value = d;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 8;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        long d_as_l = Double.doubleToLongBits(value);
+        byteWrapper.put((int)(d_as_l >>>  0) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>>  8) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 16) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 24) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 32) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 40) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 48) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 56) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 8;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        long d_as_l;
+        d_as_l  = 0L;
+        d_as_l += (long)((byteWrapper.get() & 0xFF) <<  0);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) <<  8);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 16);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 24);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 32);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 40);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 48);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 56);
+        value = Double.longBitsToDouble(d_as_l);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        
+        long d_as_l;
+        d_as_l  = 0L;
+        d_as_l += (long)((bytes[0] & 0xFF) <<  0);
+        d_as_l += (long)((bytes[1] & 0xFF) <<  8);
+        d_as_l += (long)((bytes[2] & 0xFF) << 16);
+        d_as_l += (long)((bytes[3] & 0xFF) << 24);
+        d_as_l += (long)((bytes[4] & 0xFF) << 32);
+        d_as_l += (long)((bytes[5] & 0xFF) << 40);
+        d_as_l += (long)((bytes[6] & 0xFF) << 48);
+        d_as_l += (long)((bytes[7] & 0xFF) << 56);
+        value = Double.longBitsToDouble(d_as_l);
+    }
+
+    
+    public double getValue() {
+        return value;
+    }
+
+    
+    public void setValue(double value) {
+        this.value = value;
+    }
+
+}

Index: BasicHLAinteger16BEImpl.java
===================================================================
RCS file: BasicHLAinteger16BEImpl.java
diff -N BasicHLAinteger16BEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAinteger16BEImpl.java        14 Dec 2011 13:19:25 -0000      1.1
@@ -0,0 +1,82 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAinteger16BE;
+
+public class BasicHLAinteger16BEImpl extends DataElementBase implements
+        HLAinteger16BE {
+
+    private short value;
+    
+    public BasicHLAinteger16BEImpl() {
+        value = 0;
+    }
+    
+    public BasicHLAinteger16BEImpl(short value) {
+        this.value = value;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 2;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        byteWrapper.put((int)(value >>>  8) & 0xFF);
+        byteWrapper.put((int)(value >>>  0) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 2;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        value  = 0;
+        value += (short)((byteWrapper.get() & 0xFF) <<  8);
+        value += (short)((byteWrapper.get() & 0xFF) <<  0);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value  = 0;
+        value += (short)((bytes[0] & 0xFF) <<  8);
+        value += (short)((bytes[1] & 0xFF) <<  0);
+    }
+
+    
+    public short getValue() {
+        return value;
+    }
+
+    
+    public void setValue(short value) {
+        this.value = value;
+    }
+
+}

Index: HLAunicodeStringImpl.java
===================================================================
RCS file: HLAunicodeStringImpl.java
diff -N HLAunicodeStringImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ HLAunicodeStringImpl.java   14 Dec 2011 13:19:26 -0000      1.1
@@ -0,0 +1,92 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+
+public class HLAunicodeStringImpl extends DataElementBase implements
+        hla.rti1516e.encoding.HLAunicodeString {
+
+    private String value;
+    
+    public HLAunicodeStringImpl() {
+        value = "";
+    }
+
+    public HLAunicodeStringImpl(String s) {
+        value = (null!=s ? s : "");
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 4;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+       byteWrapper.align(getOctetBoundary());
+       int ls = value.length();
+       // put size of the string first
+       byteWrapper.putInt(ls);
+       int c;
+       for (int i=0; i<ls; ++i) {
+           c = (int) value.charAt(i);
+           byteWrapper.put((c >>> 8) & 0xFF);
+           byteWrapper.put((c >>> 0) & 0xFF);
+       }
+    }
+
+    
+    public int getEncodedLength() {
+        return 4+2*value.length();
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        int ls = byteWrapper.getInt();
+        char[] s = new char[ls];
+        int upper;
+        int lower;
+        for (int i=0;i<ls;++i) {
+            upper = byteWrapper.get();
+            lower = byteWrapper.get();
+            s[i] = (char)((upper << 8) + (lower << 0));
+        }
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        throw new DecoderException("Not Implemented");
+    }
+
+    
+    public String getValue() {
+        return value;
+    }
+
+    
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+}

Index: HLAASCIIcharImpl.java
===================================================================
RCS file: HLAASCIIcharImpl.java
diff -N HLAASCIIcharImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ HLAASCIIcharImpl.java       14 Dec 2011 13:19:26 -0000      1.1
@@ -0,0 +1,74 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+
+public class HLAASCIIcharImpl extends DataElementBase implements
+        hla.rti1516e.encoding.HLAASCIIchar {
+    
+    private BasicHLAoctetImpl value;
+    
+    public HLAASCIIcharImpl() {
+        value = new BasicHLAoctetImpl();
+    }
+    
+    public HLAASCIIcharImpl(byte value) {
+        this.value = new BasicHLAoctetImpl(value);
+    }
+    
+    
+    public int getOctetBoundary() {
+        return value.getOctetBoundary();
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        value.encode(byteWrapper);
+    }
+
+    
+    public int getEncodedLength() {
+        return value.getEncodedLength();
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        value.decode(byteWrapper);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value.decode(bytes);
+    }
+
+    
+    public byte getValue() {
+        return value.getValue();
+    }
+
+    
+    public void setValue(byte value) {
+        this.value.setValue(value);
+    }
+
+}

Index: BasicHLAfloat64BEImpl.java
===================================================================
RCS file: BasicHLAfloat64BEImpl.java
diff -N BasicHLAfloat64BEImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ BasicHLAfloat64BEImpl.java  14 Dec 2011 13:19:26 -0000      1.1
@@ -0,0 +1,105 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+import hla.rti1516e.encoding.HLAfloat64BE;
+
+public class BasicHLAfloat64BEImpl extends DataElementBase implements 
HLAfloat64BE {
+
+    private double value;
+    
+    public BasicHLAfloat64BEImpl() {
+        value = 0.0;
+    }
+    
+    public BasicHLAfloat64BEImpl(double d) {
+        value = d;
+    }
+    
+    
+    public int getOctetBoundary() {
+        return 8;
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        byteWrapper.align(getOctetBoundary());
+        long d_as_l = Double.doubleToLongBits(value);
+        byteWrapper.put((int)(d_as_l >>> 56) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 48) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 40) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 32) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 24) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>> 16) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>>  8) & 0xFF);
+        byteWrapper.put((int)(d_as_l >>>  0) & 0xFF);
+    }
+
+    
+    public int getEncodedLength() {
+        return 8;
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        byteWrapper.align(getOctetBoundary());
+        long d_as_l;
+        d_as_l  = 0L;
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 56);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 48);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 40);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 32);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 24);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) << 16);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) <<  8);
+        d_as_l += (long)((byteWrapper.get() & 0xFF) <<  0);
+        value = Double.longBitsToDouble(d_as_l);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        
+        long d_as_l;
+        d_as_l  = 0L;
+        d_as_l += (long)((bytes[0] & 0xFF) << 56);
+        d_as_l += (long)((bytes[1] & 0xFF) << 48);
+        d_as_l += (long)((bytes[2] & 0xFF) << 40);
+        d_as_l += (long)((bytes[3] & 0xFF) << 32);
+        d_as_l += (long)((bytes[4] & 0xFF) << 24);
+        d_as_l += (long)((bytes[5] & 0xFF) << 16);
+        d_as_l += (long)((bytes[6] & 0xFF) <<  8);
+        d_as_l += (long)((bytes[7] & 0xFF) <<  0);
+        value = Double.longBitsToDouble(d_as_l);
+    }
+
+    
+    public double getValue() {
+        return value;
+    }
+
+    
+    public void setValue(double value) {
+        this.value = value;
+    }
+
+}

Index: HLAbooleanImpl.java
===================================================================
RCS file: HLAbooleanImpl.java
diff -N HLAbooleanImpl.java
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ HLAbooleanImpl.java 14 Dec 2011 13:19:26 -0000      1.1
@@ -0,0 +1,74 @@
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2011 Eric Noulard
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// ----------------------------------------------------------------------------
+package hla.rti1516e.jlc;
+
+import hla.rti1516e.encoding.ByteWrapper;
+import hla.rti1516e.encoding.DecoderException;
+import hla.rti1516e.encoding.EncoderException;
+
+public class HLAbooleanImpl extends DataElementBase implements
+        hla.rti1516e.encoding.HLAboolean {
+
+    private BasicHLAinteger32BEImpl value;
+    
+    public HLAbooleanImpl() {
+        value = new BasicHLAinteger32BEImpl(0);
+    }
+    
+    public HLAbooleanImpl(boolean b) {
+        value = new BasicHLAinteger32BEImpl(b ? 1 :0);
+    }
+    
+    
+    public int getOctetBoundary() {
+        return value.getOctetBoundary();
+    }
+
+    
+    public void encode(ByteWrapper byteWrapper) throws EncoderException {
+        value.encode(byteWrapper);
+    }
+
+    
+    public int getEncodedLength() {
+        return value.getEncodedLength();
+    }
+
+    
+    public void decode(ByteWrapper byteWrapper) throws DecoderException {
+        value.decode(byteWrapper);
+    }
+
+    
+    public void decode(byte[] bytes) throws DecoderException {
+        value.decode(bytes);
+    }
+
+    
+    public boolean getValue() {
+        return (value.getValue()==1);
+    }
+
+    
+    public void setValue(boolean value) {
+        this.value.setValue(value ? 1 : 0);
+    }
+
+}

Index: HLAASCIIstring.java
===================================================================
RCS file: HLAASCIIstring.java
diff -N HLAASCIIstring.java
--- HLAASCIIstring.java 14 Dec 2011 00:28:53 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,75 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-
-public class HLAASCIIstring extends DataElementBase implements
-        hla.rti1516e.encoding.HLAASCIIstring {
-
-    public HLAASCIIstring() {
-        // TODO Auto-generated constructor stub
-    }
-
-    @Override
-    public int getOctetBoundary() {
-        // TODO Auto-generated method stub
-        return 0;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        // TODO Auto-generated method stub
-
-    }
-
-    @Override
-    public int getEncodedLength() {
-        // TODO Auto-generated method stub
-        return 0;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        // TODO Auto-generated method stub
-
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        // TODO Auto-generated method stub
-
-    }
-
-    @Override
-    public String getValue() {
-        // TODO Auto-generated method stub
-        return null;
-    }
-
-    @Override
-    public void setValue(String value) {
-        // TODO Auto-generated method stub
-
-    }
-
-}

Index: BasicHLAbyte.java
===================================================================
RCS file: BasicHLAbyte.java
diff -N BasicHLAbyte.java
--- BasicHLAbyte.java   13 Dec 2011 23:53:33 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,74 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-
-public class BasicHLAbyte extends DataElementBase implements
-        hla.rti1516e.encoding.HLAbyte {
-
-    private BasicHLAoctet value;
-    
-    public BasicHLAbyte() {
-        value = new BasicHLAoctet();
-    }
-    
-    public BasicHLAbyte(byte b) {
-        value = new BasicHLAoctet(b);
-    }
-
-    @Override
-    public int getOctetBoundary() {
-        return value.getOctetBoundary();
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        value.encode(byteWrapper);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return value.getEncodedLength();
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        value.decode(byteWrapper);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value.decode(bytes);
-    }
-
-    @Override
-    public byte getValue() {
-        return value.getValue();
-    }
-
-    @Override
-    public void setValue(byte value) {
-        this.value.setValue(value);
-    }
-
-}

Index: BasicHLAinteger64LE.java
===================================================================
RCS file: BasicHLAinteger64LE.java
diff -N BasicHLAinteger64LE.java
--- BasicHLAinteger64LE.java    14 Dec 2011 00:28:53 -0000      1.3
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,100 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAinteger64LE;
-
-public class BasicHLAinteger64LE extends DataElementBase implements
-        HLAinteger64LE {
-
-    private long value;
-    
-    public BasicHLAinteger64LE() {
-        value = 0L;
-    }
-    
-    public BasicHLAinteger64LE(long value) {
-        this.value = value;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 8;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        byteWrapper.put((int)(value >>>  0) & 0xFF);
-        byteWrapper.put((int)(value >>>  8) & 0xFF);
-        byteWrapper.put((int)(value >>> 16) & 0xFF);
-        byteWrapper.put((int)(value >>> 24) & 0xFF);
-        byteWrapper.put((int)(value >>> 32) & 0xFF);
-        byteWrapper.put((int)(value >>> 40) & 0xFF);
-        byteWrapper.put((int)(value >>> 48) & 0xFF);
-        byteWrapper.put((int)(value >>> 56) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 8;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        value  = 0L;
-        value += (long)((byteWrapper.get() & 0xFF) <<  0);
-        value += (long)((byteWrapper.get() & 0xFF) <<  8);
-        value += (long)((byteWrapper.get() & 0xFF) << 16);
-        value += (long)((byteWrapper.get() & 0xFF) << 24);
-        value += (long)((byteWrapper.get() & 0xFF) << 32);
-        value += (long)((byteWrapper.get() & 0xFF) << 40);
-        value += (long)((byteWrapper.get() & 0xFF) << 48);
-        value += (long)((byteWrapper.get() & 0xFF) << 56);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value  = 0L;
-        value += (long)((bytes[0] & 0xFF) <<  0);
-        value += (long)((bytes[1] & 0xFF) <<  8);
-        value += (long)((bytes[2] & 0xFF) << 16);
-        value += (long)((bytes[3] & 0xFF) << 24);
-        value += (long)((bytes[4] & 0xFF) << 32);
-        value += (long)((bytes[5] & 0xFF) << 40);
-        value += (long)((bytes[6] & 0xFF) << 48);
-        value += (long)((bytes[7] & 0xFF) << 56);
-    }
-
-    @Override
-    public long getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(long value) {
-        this.value = value;
-    }
-
-}

Index: BasicHLAinteger64BE.java
===================================================================
RCS file: BasicHLAinteger64BE.java
diff -N BasicHLAinteger64BE.java
--- BasicHLAinteger64BE.java    14 Dec 2011 00:28:53 -0000      1.3
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,100 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAinteger64BE;
-
-public class BasicHLAinteger64BE extends DataElementBase implements
-        HLAinteger64BE {
-
-    private long value;
-    
-    public BasicHLAinteger64BE() {
-        value = 0L;
-    }
-    
-    public BasicHLAinteger64BE(long value) {
-        this.value = value;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 8;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        byteWrapper.put((int)(value >>> 56) & 0xFF);
-        byteWrapper.put((int)(value >>> 48) & 0xFF);
-        byteWrapper.put((int)(value >>> 40) & 0xFF);
-        byteWrapper.put((int)(value >>> 32) & 0xFF);
-        byteWrapper.put((int)(value >>> 24) & 0xFF);
-        byteWrapper.put((int)(value >>> 16) & 0xFF);
-        byteWrapper.put((int)(value >>>  8) & 0xFF);
-        byteWrapper.put((int)(value >>>  0) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 8;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        value  = 0L;
-        value += (long)((byteWrapper.get() & 0xFF) << 56);
-        value += (long)((byteWrapper.get() & 0xFF) << 48);
-        value += (long)((byteWrapper.get() & 0xFF) << 40);
-        value += (long)((byteWrapper.get() & 0xFF) << 32);
-        value += (long)((byteWrapper.get() & 0xFF) << 24);
-        value += (long)((byteWrapper.get() & 0xFF) << 16);
-        value += (long)((byteWrapper.get() & 0xFF) <<  8);
-        value += (long)((byteWrapper.get() & 0xFF) <<  0);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value  = 0L;
-        value += (long)((bytes[0] & 0xFF) << 56);
-        value += (long)((bytes[1] & 0xFF) << 48);
-        value += (long)((bytes[2] & 0xFF) << 40);
-        value += (long)((bytes[3] & 0xFF) << 32);
-        value += (long)((bytes[4] & 0xFF) << 24);
-        value += (long)((bytes[5] & 0xFF) << 16);
-        value += (long)((bytes[6] & 0xFF) <<  8);
-        value += (long)((bytes[7] & 0xFF) <<  0);
-    }
-
-    @Override
-    public long getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(long value) {
-        this.value = value;
-    }
-
-}

Index: BasicHLAinteger32LE.java
===================================================================
RCS file: BasicHLAinteger32LE.java
diff -N BasicHLAinteger32LE.java
--- BasicHLAinteger32LE.java    13 Dec 2011 23:53:33 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,88 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAinteger32LE;
-
-public class BasicHLAinteger32LE extends DataElementBase implements
-        HLAinteger32LE {
-
-    private int value;
-    
-    public BasicHLAinteger32LE() {
-        value = 0;
-    }
-    
-    public BasicHLAinteger32LE(int value) {
-        this.value = value;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 4;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        byteWrapper.put((int)(value >>>  0) & 0xFF);
-        byteWrapper.put((int)(value >>>  8) & 0xFF);
-        byteWrapper.put((int)(value >>> 16) & 0xFF);
-        byteWrapper.put((int)(value >>> 24) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 4;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        value  = 0;
-        value += (int)((byteWrapper.get() & 0xFF) <<  0);
-        value += (int)((byteWrapper.get() & 0xFF) <<  8);
-        value += (int)((byteWrapper.get() & 0xFF) << 16);
-        value += (int)((byteWrapper.get() & 0xFF) << 24);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value  = 0;
-        value += (int)((bytes[0] & 0xFF) <<  0);
-        value += (int)((bytes[1] & 0xFF) <<  8);
-        value += (int)((bytes[2] & 0xFF) << 16);
-        value += (int)((bytes[3] & 0xFF) << 24);
-    }
-
-    @Override
-    public int getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(int value) {
-        this.value = value;
-    }
-
-}

Index: BasicHLAfloat64LE.java
===================================================================
RCS file: BasicHLAfloat64LE.java
diff -N BasicHLAfloat64LE.java
--- BasicHLAfloat64LE.java      14 Dec 2011 00:28:53 -0000      1.3
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,105 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAfloat64LE;
-
-public class BasicHLAfloat64LE extends DataElementBase implements HLAfloat64LE 
{
-
-    private double value;
-    
-    public BasicHLAfloat64LE() {
-        value = 0.0;
-    }
-    
-    public BasicHLAfloat64LE(double d) {
-        value = d;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 8;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        long d_as_l = Double.doubleToLongBits(value);
-        byteWrapper.put((int)(d_as_l >>>  0) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>>  8) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 16) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 24) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 32) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 40) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 48) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 56) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 8;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        long d_as_l;
-        d_as_l  = 0L;
-        d_as_l += (long)((byteWrapper.get() & 0xFF) <<  0);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) <<  8);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 16);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 24);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 32);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 40);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 48);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 56);
-        value = Double.longBitsToDouble(d_as_l);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        
-        long d_as_l;
-        d_as_l  = 0L;
-        d_as_l += (long)((bytes[0] & 0xFF) <<  0);
-        d_as_l += (long)((bytes[1] & 0xFF) <<  8);
-        d_as_l += (long)((bytes[2] & 0xFF) << 16);
-        d_as_l += (long)((bytes[3] & 0xFF) << 24);
-        d_as_l += (long)((bytes[4] & 0xFF) << 32);
-        d_as_l += (long)((bytes[5] & 0xFF) << 40);
-        d_as_l += (long)((bytes[6] & 0xFF) << 48);
-        d_as_l += (long)((bytes[7] & 0xFF) << 56);
-        value = Double.longBitsToDouble(d_as_l);
-    }
-
-    @Override
-    public double getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(double value) {
-        this.value = value;
-    }
-
-}

Index: BasicHLAinteger16LE.java
===================================================================
RCS file: BasicHLAinteger16LE.java
diff -N BasicHLAinteger16LE.java
--- BasicHLAinteger16LE.java    13 Dec 2011 23:53:34 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,82 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAinteger16LE;
-
-public class BasicHLAinteger16LE extends DataElementBase implements
-        HLAinteger16LE {
-
-    private short value;
-    
-    public BasicHLAinteger16LE() {
-        value = 0;
-    }
-    
-    public BasicHLAinteger16LE(short value) {
-        this.value = value;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 2;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        byteWrapper.put((int)(value >>>  0) & 0xFF);
-        byteWrapper.put((int)(value >>>  8) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 2;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        value  = 0;
-        value += (short)((byteWrapper.get() & 0xFF) <<  0);
-        value += (short)((byteWrapper.get() & 0xFF) <<  8);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value  = 0;
-        value += (short)((bytes[0] & 0xFF) <<  0);
-        value += (short)((bytes[1] & 0xFF) <<  8);
-    }
-
-    @Override
-    public short getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(short value) {
-        this.value = value;
-    }
-
-}

Index: BasicHLAfloat64BE.java
===================================================================
RCS file: BasicHLAfloat64BE.java
diff -N BasicHLAfloat64BE.java
--- BasicHLAfloat64BE.java      14 Dec 2011 00:28:53 -0000      1.3
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,105 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAfloat64BE;
-
-public class BasicHLAfloat64BE extends DataElementBase implements HLAfloat64BE 
{
-
-    private double value;
-    
-    public BasicHLAfloat64BE() {
-        value = 0.0;
-    }
-    
-    public BasicHLAfloat64BE(double d) {
-        value = d;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 8;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        long d_as_l = Double.doubleToLongBits(value);
-        byteWrapper.put((int)(d_as_l >>> 56) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 48) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 40) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 32) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 24) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>> 16) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>>  8) & 0xFF);
-        byteWrapper.put((int)(d_as_l >>>  0) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 8;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        long d_as_l;
-        d_as_l  = 0L;
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 56);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 48);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 40);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 32);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 24);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) << 16);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) <<  8);
-        d_as_l += (long)((byteWrapper.get() & 0xFF) <<  0);
-        value = Double.longBitsToDouble(d_as_l);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        
-        long d_as_l;
-        d_as_l  = 0L;
-        d_as_l += (long)((bytes[0] & 0xFF) << 56);
-        d_as_l += (long)((bytes[1] & 0xFF) << 48);
-        d_as_l += (long)((bytes[2] & 0xFF) << 40);
-        d_as_l += (long)((bytes[3] & 0xFF) << 32);
-        d_as_l += (long)((bytes[4] & 0xFF) << 24);
-        d_as_l += (long)((bytes[5] & 0xFF) << 16);
-        d_as_l += (long)((bytes[6] & 0xFF) <<  8);
-        d_as_l += (long)((bytes[7] & 0xFF) <<  0);
-        value = Double.longBitsToDouble(d_as_l);
-    }
-
-    @Override
-    public double getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(double value) {
-        this.value = value;
-    }
-
-}

Index: BasicHLAinteger32BE.java
===================================================================
RCS file: BasicHLAinteger32BE.java
diff -N BasicHLAinteger32BE.java
--- BasicHLAinteger32BE.java    13 Dec 2011 23:53:34 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,88 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAinteger32BE;
-
-public class BasicHLAinteger32BE extends DataElementBase implements
-        HLAinteger32BE {
-
-    private int value;
-    
-    public BasicHLAinteger32BE() {
-        value = 0;
-    }
-    
-    public BasicHLAinteger32BE(int value) {
-        this.value = value;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 4;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        byteWrapper.put((int)(value >>> 24) & 0xFF);
-        byteWrapper.put((int)(value >>> 16) & 0xFF);
-        byteWrapper.put((int)(value >>>  8) & 0xFF);
-        byteWrapper.put((int)(value >>>  0) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 4;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        value  = 0;
-        value += (int)((byteWrapper.get() & 0xFF) << 24);
-        value += (int)((byteWrapper.get() & 0xFF) << 16);
-        value += (int)((byteWrapper.get() & 0xFF) <<  8);
-        value += (int)((byteWrapper.get() & 0xFF) <<  0);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value  = 0;
-        value += (int)((bytes[4] & 0xFF) << 24);
-        value += (int)((bytes[5] & 0xFF) << 16);
-        value += (int)((bytes[6] & 0xFF) <<  8);
-        value += (int)((bytes[7] & 0xFF) <<  0);
-    }
-
-    @Override
-    public int getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(int value) {
-        this.value = value;
-    }
-
-}

Index: HLAunicodeChar.java
===================================================================
RCS file: HLAunicodeChar.java
diff -N HLAunicodeChar.java
--- HLAunicodeChar.java 14 Dec 2011 00:05:45 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,74 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-
-public class HLAunicodeChar extends DataElementBase implements
-        hla.rti1516e.encoding.HLAunicodeChar {
-
-    private BasicHLAoctetPairBE value;
-    
-    public HLAunicodeChar() {
-        value = new BasicHLAoctetPairBE();
-    }
-    
-    public HLAunicodeChar(short c) {
-        value = new BasicHLAoctetPairBE(c);
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return value.getOctetBoundary();
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        value.encode(byteWrapper);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return value.getEncodedLength();
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        value.decode(byteWrapper);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value.decode(bytes);
-    }
-
-    @Override
-    public short getValue() {
-        return value.getValue();
-    }
-
-    @Override
-    public void setValue(short value) {
-        this.value.setValue(value);
-    }
-
-}

Index: BasicHLAinteger16BE.java
===================================================================
RCS file: BasicHLAinteger16BE.java
diff -N BasicHLAinteger16BE.java
--- BasicHLAinteger16BE.java    13 Dec 2011 23:53:34 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,82 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAinteger16BE;
-
-public class BasicHLAinteger16BE extends DataElementBase implements
-        HLAinteger16BE {
-
-    private short value;
-    
-    public BasicHLAinteger16BE() {
-        value = 0;
-    }
-    
-    public BasicHLAinteger16BE(short value) {
-        this.value = value;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 2;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        byteWrapper.put((int)(value >>>  8) & 0xFF);
-        byteWrapper.put((int)(value >>>  0) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 2;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        value  = 0;
-        value += (short)((byteWrapper.get() & 0xFF) <<  8);
-        value += (short)((byteWrapper.get() & 0xFF) <<  0);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value  = 0;
-        value += (short)((bytes[0] & 0xFF) <<  8);
-        value += (short)((bytes[1] & 0xFF) <<  0);
-    }
-
-    @Override
-    public short getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(short value) {
-        this.value = value;
-    }
-
-}

Index: BasicHLAoctet.java
===================================================================
RCS file: BasicHLAoctet.java
diff -N BasicHLAoctet.java
--- BasicHLAoctet.java  13 Dec 2011 23:49:24 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,74 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-
-public class BasicHLAoctet extends DataElementBase implements
-        hla.rti1516e.encoding.HLAoctet {
-    private byte value;
-    
-    public BasicHLAoctet(byte value) {
-        this.value = value;
-    }
-    
-    public BasicHLAoctet() {
-        value = 0;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 1;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        byteWrapper.put(value);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 1;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        value = (byte)byteWrapper.get();
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value = bytes[0];
-    }
-    
-    @Override
-    public byte getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(byte value) {
-        this.value = value;
-    }
-}

Index: BasicHLAoctetPairBE.java
===================================================================
RCS file: BasicHLAoctetPairBE.java
diff -N BasicHLAoctetPairBE.java
--- BasicHLAoctetPairBE.java    13 Dec 2011 23:53:34 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,82 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAoctetPairBE;
-
-public class BasicHLAoctetPairBE extends DataElementBase implements
-        HLAoctetPairBE {
-
-    private short value;
-    
-    public BasicHLAoctetPairBE() {
-        value = 0;
-    }
-    
-    public BasicHLAoctetPairBE(short value) {
-        this.value = value;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 2;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        byteWrapper.put((int)(value >>>  8) & 0xFF);
-        byteWrapper.put((int)(value >>>  0) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 2;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        value  = 0;
-        value += (short)((byteWrapper.get() & 0xFF) <<  8);
-        value += (short)((byteWrapper.get() & 0xFF) <<  0);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value  = 0;
-        value += (short)((bytes[0] & 0xFF) <<  8);
-        value += (short)((bytes[1] & 0xFF) <<  0);
-    }
-
-    @Override
-    public short getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(short value) {
-        this.value = value;
-    }
-
-}

Index: HLAboolean.java
===================================================================
RCS file: HLAboolean.java
diff -N HLAboolean.java
--- HLAboolean.java     13 Dec 2011 23:53:33 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,74 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-
-public class HLAboolean extends DataElementBase implements
-        hla.rti1516e.encoding.HLAboolean {
-
-    private BasicHLAinteger32BE value;
-    
-    public HLAboolean() {
-        value = new BasicHLAinteger32BE(0);
-    }
-    
-    public HLAboolean(boolean b) {
-        value = new BasicHLAinteger32BE(b ? 1 :0);
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return value.getOctetBoundary();
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        value.encode(byteWrapper);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return value.getEncodedLength();
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        value.decode(byteWrapper);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value.decode(bytes);
-    }
-
-    @Override
-    public boolean getValue() {
-        return (value.getValue()==1);
-    }
-
-    @Override
-    public void setValue(boolean value) {
-        this.value.setValue(value ? 1 : 0);
-    }
-
-}

Index: BasicHLAfloat32LE.java
===================================================================
RCS file: BasicHLAfloat32LE.java
diff -N BasicHLAfloat32LE.java
--- BasicHLAfloat32LE.java      13 Dec 2011 23:53:33 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,93 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAfloat32LE;
-
-public class BasicHLAfloat32LE extends DataElementBase implements HLAfloat32LE 
{
-
-    private float value;
-    
-    public BasicHLAfloat32LE() {
-        value = 0.0f;
-    }
-    
-    public BasicHLAfloat32LE(float f) {
-        value = f;
-    }
-
-    @Override
-    public int getOctetBoundary() {
-        return 4;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        int f_as_i = Float.floatToIntBits(value);
-        byteWrapper.put((int)(f_as_i >>>  0) & 0xFF);
-        byteWrapper.put((int)(f_as_i >>>  8) & 0xFF);
-        byteWrapper.put((int)(f_as_i >>> 16) & 0xFF);
-        byteWrapper.put((int)(f_as_i >>> 24) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 4;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        int f_as_i;
-        f_as_i  = 0;
-        f_as_i += (int)((byteWrapper.get() & 0xFF) <<  0);
-        f_as_i += (int)((byteWrapper.get() & 0xFF) <<  8);
-        f_as_i += (int)((byteWrapper.get() & 0xFF) << 16);
-        f_as_i += (int)((byteWrapper.get() & 0xFF) << 24);
-        value = Float.intBitsToFloat(f_as_i);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        
-        int f_as_i;
-        f_as_i  = 0;
-        f_as_i += (int)((bytes[0] & 0xFF) <<  0);
-        f_as_i += (int)((bytes[1] & 0xFF) <<  8);
-        f_as_i += (int)((bytes[2] & 0xFF) << 16);
-        f_as_i += (int)((bytes[3] & 0xFF) << 24);
-        value = Float.intBitsToFloat(f_as_i);
-    }
-
-    @Override
-    public float getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(float value) {
-        this.value = value;
-    }
-
-}

Index: BasicHLAoctetPairLE.java
===================================================================
RCS file: BasicHLAoctetPairLE.java
diff -N BasicHLAoctetPairLE.java
--- BasicHLAoctetPairLE.java    13 Dec 2011 23:53:34 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,82 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAoctetPairLE;
-
-public class BasicHLAoctetPairLE extends DataElementBase implements
-        HLAoctetPairLE {
-
-    private short value;
-    
-    public BasicHLAoctetPairLE() {
-        value = 0;
-    }
-    
-    public BasicHLAoctetPairLE(short value) {
-        this.value = value;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 2;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        byteWrapper.put((int)(value >>>  0) & 0xFF);
-        byteWrapper.put((int)(value >>>  8) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 2;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        value  = 0;
-        value += (short)((byteWrapper.get() & 0xFF) <<  0);
-        value += (short)((byteWrapper.get() & 0xFF) <<  8);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value  = 0;
-        value += (short)((bytes[0] & 0xFF) <<  0);
-        value += (short)((bytes[1] & 0xFF) <<  8);
-    }
-
-    @Override
-    public short getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(short value) {
-        this.value = value;
-    }
-
-}

Index: HLAunicodeString.java
===================================================================
RCS file: HLAunicodeString.java
diff -N HLAunicodeString.java
--- HLAunicodeString.java       14 Dec 2011 00:28:53 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,92 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-
-public class HLAunicodeString extends DataElementBase implements
-        hla.rti1516e.encoding.HLAunicodeString {
-
-    private String value;
-    
-    public HLAunicodeString() {
-        value = "";
-    }
-
-    public HLAunicodeString(String s) {
-        value = (null!=s ? s : "");
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 4;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-       byteWrapper.align(getOctetBoundary());
-       int ls = value.length();
-       // put size of the string first
-       byteWrapper.putInt(ls);
-       int c;
-       for (int i=0; i<ls; ++i) {
-           c = (int) value.charAt(i);
-           byteWrapper.put((c >>> 8) & 0xFF);
-           byteWrapper.put((c >>> 0) & 0xFF);
-       }
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 4+2*value.length();
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        int ls = byteWrapper.getInt();
-        char[] s = new char[ls];
-        int upper;
-        int lower;
-        for (int i=0;i<ls;++i) {
-            upper = byteWrapper.get();
-            lower = byteWrapper.get();
-            s[i] = (char)((upper << 8) + (lower << 0));
-        }
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        throw new DecoderException("Not Implemented");
-    }
-
-    @Override
-    public String getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(String value) {
-        this.value = value;
-    }
-
-}

Index: BasicHLAfloat32BE.java
===================================================================
RCS file: BasicHLAfloat32BE.java
diff -N BasicHLAfloat32BE.java
--- BasicHLAfloat32BE.java      13 Dec 2011 23:53:34 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,93 +0,0 @@
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-import hla.rti1516e.encoding.HLAfloat32BE;
-
-//----------------------------------------------------------------------------
-//CERTI - HLA RunTime Infrastructure
-//Copyright (C) 2011 Eric Noulard
-//
-//This program is free software ; you can redistribute it and/or
-//modify it under the terms of the GNU Lesser General Public License
-//as published by the Free Software Foundation ; either version 2 of
-//the License, or (at your option) any later version.
-//
-//This program is distributed in the hope that it will be useful, but
-//WITHOUT ANY WARRANTY ; without even the implied warranty of
-//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-//Lesser General Public License for more details.
-//
-//You should have received a copy of the GNU Lesser General Public
-//License along with this program ; if not, write to the Free Software
-//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-//----------------------------------------------------------------------------
-public class BasicHLAfloat32BE extends DataElementBase implements HLAfloat32BE 
{
-
-    private float value;
-    
-    public BasicHLAfloat32BE() {
-        value = 0.0f;
-    }
-    
-    public BasicHLAfloat32BE(float f) {
-        value = f;
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return 4;
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        byteWrapper.align(getOctetBoundary());
-        int f_as_i = Float.floatToIntBits(value);
-        byteWrapper.put((int)(f_as_i >>> 24) & 0xFF);
-        byteWrapper.put((int)(f_as_i >>> 16) & 0xFF);
-        byteWrapper.put((int)(f_as_i >>>  8) & 0xFF);
-        byteWrapper.put((int)(f_as_i >>>  0) & 0xFF);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return 4;
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        byteWrapper.align(getOctetBoundary());
-        int f_as_i;
-        f_as_i  = 0;
-        f_as_i += (int)((byteWrapper.get() & 0xFF) << 24);
-        f_as_i += (int)((byteWrapper.get() & 0xFF) << 16);
-        f_as_i += (int)((byteWrapper.get() & 0xFF) <<  8);
-        f_as_i += (int)((byteWrapper.get() & 0xFF) <<  0);
-        value = Float.intBitsToFloat(f_as_i);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        
-        int f_as_i;
-        f_as_i  = 0;
-        f_as_i += (long)((bytes[4] & 0xFF) << 24);
-        f_as_i += (long)((bytes[5] & 0xFF) << 16);
-        f_as_i += (long)((bytes[6] & 0xFF) <<  8);
-        f_as_i += (long)((bytes[7] & 0xFF) <<  0);
-        value = Float.intBitsToFloat(f_as_i);
-    }
-
-    @Override
-    public float getValue() {
-        return value;
-    }
-
-    @Override
-    public void setValue(float value) {
-        this.value = value;
-    }
-
-}

Index: HLAASCIIchar.java
===================================================================
RCS file: HLAASCIIchar.java
diff -N HLAASCIIchar.java
--- HLAASCIIchar.java   14 Dec 2011 00:02:36 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,74 +0,0 @@
-// ----------------------------------------------------------------------------
-// CERTI - HLA RunTime Infrastructure
-// Copyright (C) 2011 Eric Noulard
-//
-// This program is free software ; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation ; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY ; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this program ; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// ----------------------------------------------------------------------------
-package hla.rti1516e.jlc;
-
-import hla.rti1516e.encoding.ByteWrapper;
-import hla.rti1516e.encoding.DecoderException;
-import hla.rti1516e.encoding.EncoderException;
-
-public class HLAASCIIchar extends DataElementBase implements
-        hla.rti1516e.encoding.HLAASCIIchar {
-    
-    private BasicHLAoctet value;
-    
-    public HLAASCIIchar() {
-        value = new BasicHLAoctet();
-    }
-    
-    public HLAASCIIchar(byte value) {
-        this.value = new BasicHLAoctet(value);
-    }
-    
-    @Override
-    public int getOctetBoundary() {
-        return value.getOctetBoundary();
-    }
-
-    @Override
-    public void encode(ByteWrapper byteWrapper) throws EncoderException {
-        value.encode(byteWrapper);
-    }
-
-    @Override
-    public int getEncodedLength() {
-        return value.getEncodedLength();
-    }
-
-    @Override
-    public void decode(ByteWrapper byteWrapper) throws DecoderException {
-        value.decode(byteWrapper);
-    }
-
-    @Override
-    public void decode(byte[] bytes) throws DecoderException {
-        value.decode(bytes);
-    }
-
-    @Override
-    public byte getValue() {
-        return value.getValue();
-    }
-
-    @Override
-    public void setValue(byte value) {
-        this.value.setValue(value);
-    }
-
-}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]