Package | Description |
---|---|
org.biojava.bio |
The core classes that will be used throughout the bio packages.
|
org.biojava.bio.seq.io.filterxml |
Tools for reading and writing an XML representation of BioJava's FeatureFilter language.
|
Modifier and Type | Class and Description |
---|---|
static class |
CollectionConstraint.AllValuesIn
CollectionConstraint which validates all members of a Collection.
|
static class |
CollectionConstraint.And
A collection constraint that accpepts collections iff they are accepted by both
child constraints.
|
static class |
CollectionConstraint.Contains
CollectionConstraint which validates a portion of a Collection.
|
static class |
CollectionConstraint.Or
A collection constraint that accepts items iff they are accepted by either
child constraints.
|
Modifier and Type | Field and Description |
---|---|
static CollectionConstraint |
CollectionConstraint.ANY
ANY is a constraint which accepts a property for
addition under all conditions. |
static CollectionConstraint |
CollectionConstraint.EMPTY
EMPTY is a constraint which only accepts the empty
set. |
static CollectionConstraint |
CollectionConstraint.NONE
NONE is a constraint which accepts no value for a property
under any condition. |
Modifier and Type | Method and Description |
---|---|
CollectionConstraint |
CollectionConstraint.And.getChild1()
Get the first child CollectionConstraint.
|
CollectionConstraint |
CollectionConstraint.Or.getChild1()
Get the first child CollectionConstraint.
|
CollectionConstraint |
CollectionConstraint.And.getChild2()
Get the seccond child CollectionConstraint.
|
CollectionConstraint |
CollectionConstraint.Or.getChild2()
Get the seccond child CollectionConstraint.
|
CollectionConstraint |
AnnotationType.getConstraint(Object key)
Retrieve the constraint that will be applied to all
properties with a given key.
|
CollectionConstraint |
AnnotationType.Impl.getConstraint(Object key) |
CollectionConstraint |
AnnotationType.getDefaultConstraint()
Get the CollectionConstraint that will be applied to all properties without
an explicit binding.
|
CollectionConstraint |
AnnotationType.Impl.getDefaultConstraint() |
static CollectionConstraint |
AnnotationTools.intersection(CollectionConstraint cc1,
CollectionConstraint cc2)
Return the CollectionConstraint which accept only collections accepted by
both of those specified.
|
static CollectionConstraint |
AnnotationTools.union(CollectionConstraint cc1,
CollectionConstraint cc2)
Calculate a CollectionConstaint that will accept all items accepted by
either constraint.
|
Modifier and Type | Method and Description |
---|---|
static CollectionConstraint |
AnnotationTools.intersection(CollectionConstraint cc1,
CollectionConstraint cc2)
Return the CollectionConstraint which accept only collections accepted by
both of those specified.
|
void |
AnnotationType.setConstraint(Object key,
CollectionConstraint con)
Specifies the constraint to apply to the specified property.
|
void |
AnnotationType.Impl.setConstraint(Object key,
CollectionConstraint cc) |
void |
AnnotationType.setDefaultConstraint(CollectionConstraint cc)
Specifies the default constraint to apply to properties where no
other constraint is specified.
|
void |
AnnotationType.Impl.setDefaultConstraint(CollectionConstraint cc) |
boolean |
CollectionConstraint.subConstraintOf(CollectionConstraint subConstraint)
subConstraintOf returns true if the constraint
is a sub-constraint. |
boolean |
CollectionConstraint.AllValuesIn.subConstraintOf(CollectionConstraint cc) |
boolean |
CollectionConstraint.Contains.subConstraintOf(CollectionConstraint cc) |
boolean |
CollectionConstraint.And.subConstraintOf(CollectionConstraint pc) |
boolean |
CollectionConstraint.Or.subConstraintOf(CollectionConstraint pc) |
static CollectionConstraint |
AnnotationTools.union(CollectionConstraint cc1,
CollectionConstraint cc2)
Calculate a CollectionConstaint that will accept all items accepted by
either constraint.
|
Constructor and Description |
---|
AnnotationType.Impl(CollectionConstraint unknown)
Create a new Impl with a default collection constraint.
|
CollectionConstraint.And(CollectionConstraint c1,
CollectionConstraint c2)
Create a new
And from two child constraints. |
CollectionConstraint.Or(CollectionConstraint c1,
CollectionConstraint c2)
Create a new
Or from two child constraints. |
Modifier and Type | Method and Description |
---|---|
CollectionConstraint |
XMLAnnotationTypeHandler.CollectionConstraintHandler.getCollectionConstraint() |
Modifier and Type | Method and Description |
---|---|
void |
XMLAnnotationTypeWriter.addXMLCollectionConstraintWriter(CollectionConstraint pc,
XMLAnnotationTypeWriter.XMLCollectionConstraintWriter xfw)
Register a writer for a singleton property constraint.
|
void |
XMLAnnotationTypeWriter.XMLCollectionConstraintWriter.writeCollectionConstraint(CollectionConstraint pc,
XMLWriter xw,
XMLAnnotationTypeWriter config) |
Copyright © 2014 BioJava. All rights reserved.