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

java.lang.Object
  extended by ch.panter.li.bi.asn.AsnValueBase
      extended by ch.panter.li.bi.asn.value.AsnContainerValueBase
All Implemented Interfaces:
Validatable, AsnValue
Direct Known Subclasses:
AsnChoice, AsnComplexValueBase, AsnUnknownStructure

public abstract class AsnContainerValueBase
extends AsnValueBase


Constructor Summary
AsnContainerValueBase(AsnContainerValueBase copy)
           
AsnContainerValueBase(AsnType type)
           
 
Method Summary
 void clear()
           
protected  int computeHashCode(int baseHash)
           
protected  AsnValue ensureItemExists(AsnTag requiredTag, Class requiredClass, int insertPos)
           
 AsnValue getItemByTag(AsnTag requiredTag)
           
 AsnValue getItemByTagAndClass(AsnTag requiredTag, Class requiredClass)
           
 ReadOnlyCollection<AsnValue> getItems()
           
 ShieldableArrayList<AsnValue> getWritableItems()
           
 boolean isEmpty()
           
protected  boolean isEqualTo(Object compare)
           
 void remove(AsnValue item)
           
 void remove(int pos)
           
protected  void selectChoice(AsnTag requiredTag, Class requiredClass)
           
protected  void setOptionalItemState(AsnTag requiredTag, Class requiredClass, int insertPos, boolean present)
           
 int size()
           
 String toString()
           
protected  void validateStructure(ValidationInfoImpl info)
           
 
Methods inherited from class ch.panter.li.bi.asn.AsnValueBase
checkTypeDerivedFrom, collectValidationInfo, equals, getTag, getType, hashCode, isValid, setTag, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ch.panter.li.bi.asn.AsnValue
copyAsnValue
 

Constructor Detail

AsnContainerValueBase

AsnContainerValueBase(AsnType type)

AsnContainerValueBase

AsnContainerValueBase(AsnContainerValueBase copy)
Method Detail

getItemByTag

public final AsnValue getItemByTag(AsnTag requiredTag)

getItemByTagAndClass

public final AsnValue getItemByTagAndClass(AsnTag requiredTag,
                                           Class requiredClass)

ensureItemExists

protected final AsnValue ensureItemExists(AsnTag requiredTag,
                                          Class requiredClass,
                                          int insertPos)
                                   throws AsnMisuseException
Throws:
AsnMisuseException

setOptionalItemState

protected final void setOptionalItemState(AsnTag requiredTag,
                                          Class requiredClass,
                                          int insertPos,
                                          boolean present)
                                   throws AsnMisuseException
Throws:
AsnMisuseException

selectChoice

protected final void selectChoice(AsnTag requiredTag,
                                  Class requiredClass)
                           throws AsnMisuseException
Throws:
AsnMisuseException

isEmpty

public final boolean isEmpty()

size

public final int size()

clear

public final void clear()

remove

public final void remove(int pos)

remove

public final void remove(AsnValue item)

getItems

public final ReadOnlyCollection<AsnValue> getItems()

getWritableItems

public final ShieldableArrayList<AsnValue> getWritableItems()

validateStructure

protected void validateStructure(ValidationInfoImpl info)
Overrides:
validateStructure in class AsnValueBase

isEqualTo

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

computeHashCode

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

toString

public String toString()
Overrides:
toString in class AsnValueBase


Copyright 2007-2007 SourceForge. All Rights Reserved.