|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.seq.projection.ProjectionEngine
public class ProjectionEngine
Factory for proxy objects which project BioJava features
into alternate coordinate systems. This class binds
together a feature and a ProjectionContext
object, and returns the resulting projected feature.
New feature-projection wrapper classes are generated
automatically as they are required.
Nested Class Summary | |
---|---|
static interface |
ProjectionEngine.Instantiator
Internal helper class. |
static interface |
ProjectionEngine.TemplateProjector
This is an interface for things that project feature templates. |
Field Summary | |
---|---|
static ProjectionEngine |
DEFAULT
The standard projection engine object. |
Method Summary | |
---|---|
Feature |
projectFeature(Feature f,
ProjectionContext ctx)
Return a projection of Feature f into the system
defined by a given ProjectionContext. |
Feature.Template |
revertTemplate(Feature.Template templ,
ProjectionContext ctxt)
Revert a template so that it can be used on the original feature-space. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ProjectionEngine DEFAULT
Method Detail |
---|
public Feature projectFeature(Feature f, ProjectionContext ctx)
f
into the system
defined by a given ProjectionContext. The returned object
will implement the same Feature interface (sub-interface of
Feature
as the underlying feature, and will also
implement the Projection
interface.
public Feature.Template revertTemplate(Feature.Template templ, ProjectionContext ctxt)
This will use the revertFoo methods defined in the context to revert all of the transformed properties.
templ
- the template to revertctxt
- the context defining the reversion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |