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 |
PropertyConstraint.And
A property constraint that accpepts items iff they are accepted by both
child constraints.
|
static class |
PropertyConstraint.ByAnnotationType
ByAnnotationType accepts a property value if it
belongs to type defined by AnnotationType. |
static class |
PropertyConstraint.ByClass
ByClass accepts a property value if it is an
instance of a specific Java class. |
static class |
PropertyConstraint.Enumeration
Enumeration accepts a property if it is present
in the specified set of values. |
static class |
PropertyConstraint.ExactValue
Matches properties if they have exactly this one value.
|
static class |
PropertyConstraint.Or
A property constraint that accepts items iff they are accepted by either
child constraints.
|
Modifier and Type | Field and Description |
---|---|
static PropertyConstraint |
PropertyConstraint.ANY
ANY is a constraint which accepts a property for
addition under all conditions. |
static PropertyConstraint |
PropertyConstraint.NONE
NONE is a constraint which accepts no value for a property
under any condition. |
Modifier and Type | Method and Description |
---|---|
PropertyConstraint |
PropertyConstraint.And.getChild1()
Get the first child PropertyConstraint.
|
PropertyConstraint |
PropertyConstraint.Or.getChild1()
Get the first child PropertyConstraint.
|
PropertyConstraint |
PropertyConstraint.And.getChild2()
Get the seccond child PropertyConstraint.
|
PropertyConstraint |
PropertyConstraint.Or.getChild2()
Get the seccond child PropertyConstraint.
|
PropertyConstraint |
CollectionConstraint.AllValuesIn.getPropertyConstraint()
Get the PropertyConstraint used to validate each property value.
|
PropertyConstraint |
CollectionConstraint.Contains.getPropertyConstraint()
Get the PropertyConstraint used to validate each property value.
|
static PropertyConstraint |
AnnotationTools.intersection(PropertyConstraint pc1,
PropertyConstraint pc2)
Calculate the intersection of two PropertyConstraint instances.
|
static PropertyConstraint |
AnnotationTools.union(PropertyConstraint pc1,
PropertyConstraint pc2)
Create a PropertyConstraint that matches all Objects that are accepted
by two others.
|
Modifier and Type | Method and Description |
---|---|
static PropertyConstraint |
AnnotationTools.intersection(PropertyConstraint pc1,
PropertyConstraint pc2)
Calculate the intersection of two PropertyConstraint instances.
|
void |
AnnotationType.setConstraints(Object key,
PropertyConstraint con,
Location card)
Set the constraints associated with a property.
|
void |
AnnotationType.Abstract.setConstraints(Object key,
PropertyConstraint pc,
Location cc) |
void |
AnnotationType.setDefaultConstraints(PropertyConstraint pc,
Location cc)
Set the constraints that will apply to all properties without an
explicitly defined set of constraints.
|
void |
AnnotationType.Abstract.setDefaultConstraints(PropertyConstraint pc,
Location cc) |
boolean |
PropertyConstraint.subConstraintOf(PropertyConstraint subConstraint)
subConstraintOf returns true if the constraint
is a sub-constraint. |
boolean |
PropertyConstraint.ByClass.subConstraintOf(PropertyConstraint subConstraint) |
boolean |
PropertyConstraint.ByAnnotationType.subConstraintOf(PropertyConstraint subConstraint) |
boolean |
PropertyConstraint.ExactValue.subConstraintOf(PropertyConstraint pc) |
boolean |
PropertyConstraint.Enumeration.subConstraintOf(PropertyConstraint subConstraint) |
boolean |
PropertyConstraint.And.subConstraintOf(PropertyConstraint pc) |
boolean |
PropertyConstraint.Or.subConstraintOf(PropertyConstraint pc) |
static PropertyConstraint |
AnnotationTools.union(PropertyConstraint pc1,
PropertyConstraint pc2)
Create a PropertyConstraint that matches all Objects that are accepted
by two others.
|
Constructor and Description |
---|
AnnotationType.Impl(PropertyConstraint defaultPC,
Location defaultCC)
Create a new Impl with a default property and cardinality constraint.
|
CollectionConstraint.AllValuesIn(PropertyConstraint pc,
Location card)
Create an AllValuesIn based upon a PropertyConstraint and a
cardinality.
|
CollectionConstraint.Contains(PropertyConstraint pc,
Location card)
Create a Contains based upon a PropertyConstraint and a
cardinality.
|
PropertyConstraint.And(PropertyConstraint c1,
PropertyConstraint c2)
Create a new
And from two child constraints. |
PropertyConstraint.Or(PropertyConstraint c1,
PropertyConstraint c2)
Create a new
Or from two child constraints. |
Modifier and Type | Method and Description |
---|---|
PropertyConstraint |
XMLAnnotationTypeHandler.PropertyConstraintHandler.getPropertyConstraint() |
Modifier and Type | Method and Description |
---|---|
void |
XMLAnnotationTypeWriter.addXMLPropertyConstraintWriter(PropertyConstraint pc,
XMLAnnotationTypeWriter.XMLPropertyConstraintWriter xfw)
Register a writer for a singleton property constraint.
|
void |
XMLAnnotationTypeWriter.XMLPropertyConstraintWriter.writePropertyConstraint(PropertyConstraint pc,
XMLWriter xw,
XMLAnnotationTypeWriter config) |
Copyright © 2014 BioJava. All rights reserved.