ch.panter.li.bi.asn.model
Class AsnConstraintBase
java.lang.Object
ch.panter.li.bi.asn.model.AsnConstraintBase
- All Implemented Interfaces:
- AsnConstraint
- Direct Known Subclasses:
- AsnConstraintEnum, AsnConstraintOID, AsnConstraintRange, AsnConstraintSign, AsnConstraintSize, AsnConstraintStructure, AsnConstraintType
public abstract class AsnConstraintBase
- extends Object
- implements AsnConstraint
AsnConstraintBase
protected AsnConstraintBase()
canValidate
public final boolean canValidate(AsnType type)
- Specified by:
canValidate
in interface AsnConstraint
validate
public final void validate(AsnValue value,
ValidationInfoImpl info)
- Specified by:
validate
in interface AsnConstraint
isAllowExtensions
public final boolean isAllowExtensions()
setAllowExtensions
public final void setAllowExtensions(boolean allowExtensions)
isValidationPossibleFor
protected abstract boolean isValidationPossibleFor(AsnType type)
doValidate
protected abstract void doValidate(AsnValue value,
ValidationInfoImpl info)
equals
public final boolean equals(Object compare)
- Overrides:
equals
in class Object
isEqualTo
protected boolean isEqualTo(Object compare)
hashCode
public final int hashCode()
- Overrides:
hashCode
in class Object
computeHashCode
protected int computeHashCode(int baseHash)
Copyright 2007-2007 SourceForge. All Rights Reserved.