ch.panter.li.bi.asn.model
Class AsnConstraintBase

java.lang.Object
  extended by 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


Constructor Summary
protected AsnConstraintBase()
           
 
Method Summary
 boolean canValidate(AsnType type)
           
protected  int computeHashCode(int baseHash)
           
protected abstract  void doValidate(AsnValue value, ValidationInfoImpl info)
           
 boolean equals(Object compare)
           
 int hashCode()
           
 boolean isAllowExtensions()
           
protected  boolean isEqualTo(Object compare)
           
protected abstract  boolean isValidationPossibleFor(AsnType type)
           
 void setAllowExtensions(boolean allowExtensions)
           
 void validate(AsnValue value, ValidationInfoImpl info)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnConstraintBase

protected AsnConstraintBase()
Method Detail

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.