ch.panter.li.bi.asn.value
Class AsnContainerValueBase
java.lang.Object
ch.panter.li.bi.asn.AsnValueBase
ch.panter.li.bi.asn.value.AsnContainerValueBase
- All Implemented Interfaces:
- Validatable, AsnValue
- Direct Known Subclasses:
- AsnChoice, AsnComplexValueBase, AsnUnknownStructure
public abstract class AsnContainerValueBase
- extends AsnValueBase
AsnContainerValueBase
AsnContainerValueBase(AsnType type)
AsnContainerValueBase
AsnContainerValueBase(AsnContainerValueBase copy)
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.