ch.panter.li.bi.asn.value
Class AsnBitString

java.lang.Object
  extended by ch.panter.li.bi.asn.AsnValueBase
      extended by ch.panter.li.bi.asn.value.AsnSimpleValueBase
          extended by ch.panter.li.bi.asn.value.AsnByteArrayValueBase
              extended by ch.panter.li.bi.asn.value.AsnBitString
All Implemented Interfaces:
BinaryValue, BinaryValueInfo, Validatable, AsnValue

public class AsnBitString
extends AsnByteArrayValueBase
implements BinaryValue


Constructor Summary
AsnBitString()
           
AsnBitString(AsnBitString copy)
           
AsnBitString(AsnType type)
           
AsnBitString(byte[] bits)
           
AsnBitString(byte[] bits, int bitCount)
           
 
Method Summary
 void assign(BinaryValue other)
           
protected  int computeHashCode(int baseHash)
           
 AsnBitString copyAsnValue()
           
 boolean getBit(int bitPos)
           
 int getBitCount()
           
 byte[] getBits()
           
 byte[] getContent()
           
protected  boolean isEqualTo(Object compare)
           
 void setBits(byte[] bits)
           
 void setBits(byte[] bits, int bitCount)
           
 void setContent(byte[] content)
           
 String toString()
           
 
Methods inherited from class ch.panter.li.bi.asn.value.AsnByteArrayValueBase
getData, setData
 
Methods inherited from class ch.panter.li.bi.asn.AsnValueBase
checkTypeDerivedFrom, collectValidationInfo, equals, getTag, getType, hashCode, isValid, setTag, validate, validateStructure
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsnBitString

public AsnBitString()

AsnBitString

public AsnBitString(byte[] bits)

AsnBitString

public AsnBitString(byte[] bits,
                    int bitCount)

AsnBitString

public AsnBitString(AsnType type)

AsnBitString

public AsnBitString(AsnBitString copy)
Method Detail

copyAsnValue

public AsnBitString copyAsnValue()
Specified by:
copyAsnValue in interface AsnValue

getContent

public final byte[] getContent()
Specified by:
getContent in interface BinaryValueInfo

setContent

public final void setContent(byte[] content)
Specified by:
setContent in interface BinaryValue

getBitCount

public final int getBitCount()

getBits

public final byte[] getBits()

setBits

public final void setBits(byte[] bits)

setBits

public final void setBits(byte[] bits,
                          int bitCount)

getBit

public final boolean getBit(int bitPos)

assign

public void assign(BinaryValue other)
Specified by:
assign in interface BinaryValue

isEqualTo

protected boolean isEqualTo(Object compare)
Overrides:
isEqualTo in class AsnByteArrayValueBase

computeHashCode

protected int computeHashCode(int baseHash)
Overrides:
computeHashCode in class AsnByteArrayValueBase

toString

public String toString()
Overrides:
toString in class AsnByteArrayValueBase


Copyright 2007-2007 SourceForge. All Rights Reserved.