| Package | Description |
|---|---|
| net.sf.okapi.common.observer |
Interfaces and base classes to implement the Observer pattern.
|
| net.sf.okapi.common.pipeline |
Interfaces and classes to implement and manage pipelines.
|
| net.sf.okapi.lib.extra.pipelinebuilder | |
| net.sf.okapi.steps.sentencealigner |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseObservable
Default implementation of an
IObservable. |
class |
WeakReferenceObservable
Implementation of
IObservable that holds references to Observers as
WeakReferences. |
| Modifier and Type | Method and Description |
|---|---|
void |
IObserver.update(IObservable o,
Object arg)
This method is called whenever the observed object is changed.
|
protected void |
BaseObservable.wrappedNotify(IObserver observer,
IObservable observable,
Object arg)
This method is intended to encapsulate the notification semantics, in
order to let extended classes to implement their own version.
|
| Constructor and Description |
|---|
BaseObservable(IObservable observable) |
WeakReferenceObservable(IObservable observable)
Creates a new WeakReferenceObservable object with a given
IObservable object. |
| Modifier and Type | Class and Description |
|---|---|
class |
Pipeline
Default implementations of the
IPipeline interface. |
| Modifier and Type | Method and Description |
|---|---|
void |
Pipeline.update(IObservable o,
Object arg) |
| Modifier and Type | Class and Description |
|---|---|
class |
XPipeline |
| Modifier and Type | Method and Description |
|---|---|
void |
SentenceAlignerStep.update(IObservable o,
Object event) |
Copyright © 2021. All rights reserved.