Package | Description |
---|---|
org.sbml.jsbml.validator.offline |
Provides classes to validate any kind of object offline.
|
org.sbml.jsbml.validator.offline.constraints |
Any validation constraints related to the multi package.
|
Modifier and Type | Method | Description |
---|---|---|
AnyConstraint<java.lang.Object> |
ValidationContext.getRootConstraint() |
Returns the root constraint from this context.
|
Modifier and Type | Method | Description |
---|---|---|
void |
LoggingValidationContext.didValidate(ValidationContext ctx,
AnyConstraint<?> c,
java.lang.Object o,
boolean success) |
|
void |
ValidationContext.didValidate(AnyConstraint<?> constraint,
java.lang.Object o,
boolean success) |
Calls the
ValidationListener.didValidate(ValidationContext, AnyConstraint, Object, boolean)
method on all the listeners. |
void |
ValidationListener.didValidate(ValidationContext ctx,
AnyConstraint<?> c,
java.lang.Object o,
boolean success) |
Invoked after the constraint has validated the object.
|
void |
ValidationContext.setRootConstraint(AnyConstraint<java.lang.Object> rootConstraint,
java.lang.Class<?> constraintType) |
Sets the root constraints and the root constraint class type.
|
void |
LoggingValidationContext.willValidate(ValidationContext ctx,
AnyConstraint<?> c,
java.lang.Object o) |
|
void |
ValidationContext.willValidate(AnyConstraint<?> constraint,
java.lang.Object o) |
Allows a
ValidationListener to perform some operation before
a constraint is called. |
void |
ValidationListener.willValidate(ValidationContext ctx,
AnyConstraint<?> c,
java.lang.Object o) |
Invoked before the constraint will validate the object.
|
Constructor | Description |
---|---|
LoggingValidationContext(int level,
int version,
AnyConstraint<java.lang.Object> rootConstraint,
java.util.Set<SBMLValidator.CHECK_CATEGORY> categories) |
Creates a new
LoggingValidationContext instance. |
ValidationContext(int level,
int version,
AnyConstraint<java.lang.Object> rootConstraint,
java.util.Set<SBMLValidator.CHECK_CATEGORY> categories) |
Creates a new
ValidationContext for the given SBML level and version. |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractConstraint<T> |
Abstract generic mother class for all the constraints.
|
class |
CategoryConstraintGroup<T> |
Specific
ConstraintGroup class that is linked to one SBMLValidator.CHECK_CATEGORY and so will only
contain constraints linked to this category. |
class |
ConstraintGroup<T> |
Groups together a set of constraints.
|
class |
ValidationConstraint<T> |
The basic constraint which uses a
ValidationFunction object to
perform validation. |
Modifier and Type | Method | Description |
---|---|---|
<T> AnyConstraint<T> |
AbstractConstraintDeclaration.createConstraint(int errorCode,
ValidationContext context) |
|
<T> AnyConstraint<T> |
ConstraintDeclaration.createConstraint(int errorCode,
ValidationContext context) |
Creates the constraint with the given error code.
|
AnyConstraint<?> |
AbstractConstraintDeclaration.createConstraints(int level,
int version,
SBMLValidator.CHECK_CATEGORY category,
ValidationContext context) |
|
AnyConstraint<?> |
ConstraintDeclaration.createConstraints(int level,
int version,
SBMLValidator.CHECK_CATEGORY category,
ValidationContext context) |
Creates all the constraints which are needed to validate this category
in the given level and version of SBML.
|
AnyConstraint<T>[] |
ConstraintGroup.getConstraints() |
Returns the members of the group.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ConstraintGroup.add(AnyConstraint<T> c) |
Adds a constraint to the group.
|
boolean |
ConstraintGroup.contains(AnyConstraint<T> c) |
Checks if the constraint is in the group.
|
boolean |
ConstraintGroup.remove(AnyConstraint<T> constraint) |
Removes the constraint from the group.
|