hla.rti1516.jlc.omt
Class OmtHLAunicodeString

java.lang.Object
  extended by hla.rti1516.jlc.omt.AbstractDataElement
      extended by hla.rti1516.jlc.omt.OmtHLAunicodeString
All Implemented Interfaces:
DataElement, HLAunicodeString

public class OmtHLAunicodeString
extends AbstractDataElement
implements HLAunicodeString


Constructor Summary
OmtHLAunicodeString()
           
OmtHLAunicodeString(java.lang.String s)
           
 
Method Summary
 void decode(ByteWrapper byteWrapper)
          Decodes this element from the ByteWrapper.
 void encode(ByteWrapper byteWrapper)
          Encodes this element into the specified ByteWrapper.
 boolean equals(java.lang.Object obj)
          
 int getEncodedLength()
          Returns the size in bytes of this element's encoding.
 int getOctetBoundary()
          Returns the octet boundary of this element.
 java.lang.String getValue()
          Returns the string value of this element.
 int hashCode()
          
 java.lang.String toString()
           
 
Methods inherited from class hla.rti1516.jlc.omt.AbstractDataElement
toByteArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface hla.rti1516.jlc.DataElement
toByteArray
 

Constructor Detail

OmtHLAunicodeString

public OmtHLAunicodeString()

OmtHLAunicodeString

public OmtHLAunicodeString(java.lang.String s)
Method Detail

encode

public void encode(ByteWrapper byteWrapper)
Description copied from interface: DataElement
Encodes this element into the specified ByteWrapper.

Specified by:
encode in interface DataElement
Specified by:
encode in interface HLAunicodeString

decode

public final void decode(ByteWrapper byteWrapper)
Description copied from interface: DataElement
Decodes this element from the ByteWrapper.

Specified by:
decode in interface DataElement
Specified by:
decode in interface HLAunicodeString

getEncodedLength

public int getEncodedLength()
Description copied from interface: DataElement
Returns the size in bytes of this element's encoding.

Specified by:
getEncodedLength in interface DataElement
Specified by:
getEncodedLength in interface HLAunicodeString
Returns:
size

getOctetBoundary

public int getOctetBoundary()
Description copied from interface: DataElement
Returns the octet boundary of this element.

Specified by:
getOctetBoundary in interface DataElement
Specified by:
getOctetBoundary in interface HLAunicodeString
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getValue

public java.lang.String getValue()
Description copied from interface: HLAunicodeString
Returns the string value of this element.

Specified by:
getValue in interface HLAunicodeString
Returns:
string value

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object