O - type of object being built.R - key object used for recognition.C - a pass-through object available to recognizers.
public abstract class OBBuilder<R,O,C>
extends java.lang.Object
getObjectClass() method. Built object is available by calling the getObject() method. Multiple calls to this method will return in the same instance.OBFramework| Modifier and Type | Field and Description |
|---|---|
protected OBContext<R,O,C> |
context_ |
protected java.lang.Class |
objectClass_ |
| Constructor and Description |
|---|
OBBuilder(java.lang.Class objectClass, OBContext<R,O,C> context) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract O |
build() |
OBContext<R,O,C> |
getContext() |
O |
getObject() |
java.lang.Class |
getObjectClass() |
java.lang.Class |
getTypeForNarrow() |