Package | Description |
---|---|
gate |
This package contains the public interface to the GATE Java API.
|
gate.creole | |
gate.creole.ontology |
The GATE ontology API.
|
gate.gui.docview | |
gate.gui.ontology | |
gate.jape | |
gate.util |
Modifier and Type | Method and Description |
---|---|
boolean |
FeatureMap.subsumes(Ontology ontologyLR,
FeatureMap aFeatureMap)
Tests if this featureMap object includes aFeatureMap features.
|
Modifier and Type | Field and Description |
---|---|
protected Ontology |
Transducer.ontology
The ontology that will be available on the RHS of JAPE rules.
|
Modifier and Type | Method and Description |
---|---|
Ontology |
Transducer.getOntology()
Gets the ontology used by this transducer.
|
Modifier and Type | Method and Description |
---|---|
void |
ANNIETransducer.setOntology(Ontology ontology)
The ontology parameter is not used for this PR and therefore hidden.
|
void |
Transducer.setOntology(Ontology ontology)
Sets the ontology used by this transducer.
|
void |
VPChunker.setOntology(Ontology o) |
Modifier and Type | Method and Description |
---|---|
Ontology |
OResource.getOntology()
Gets the ontology to which the resource belongs.
|
static Ontology |
OntologyUtilities.getOntology(URL url)
Deprecated.
- this method should be avoided
|
Modifier and Type | Method and Description |
---|---|
static URI |
OntologyUtilities.createURI(Ontology ontology,
String aResourceName,
boolean isAnonymousResource)
Deprecated.
- use
createOURI(String) and related methods
instead. |
void |
OntologyModificationListener.ontologyReset(Ontology ontology)
This method is called whenever ontology is reset.
|
void |
OntologyModificationListener.resourceAdded(Ontology ontology,
OResource resource)
This method is invoked whenever a resource
(class/property/instance) is added to the ontology.
|
void |
OntologyModificationListener.resourcePropertyValueChanged(Ontology ontology,
OResource resource,
RDFProperty property,
Object value,
int eventType)
This method should be invoked when a property value is added or removed (specified by the event type).
|
void |
OntologyModificationListener.resourceRelationChanged(Ontology ontology,
OResource resource1,
OResource resource2,
int eventType)
This method is invoked whenever a relation between two objects of the same class (e.g.
|
void |
OntologyModificationListener.resourcesRemoved(Ontology ontology,
String[] resources)
This method is invoked whenever a resource
(class/property/instance) is removed from the ontology.
|
Modifier and Type | Field and Description |
---|---|
protected Ontology |
OntologyInstanceView.selectedOntology |
Modifier and Type | Field and Description |
---|---|
protected Map<Ontology,JTree> |
OntologyClassView.treeByOntologyMap
Link trees with their ontologies.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OntologyClassView.buildClassTree(JTree tree,
Ontology ontology)
Build the class tree from the ontology.
|
protected void |
OntologyClassView.loadOntology(Ontology ontology)
Add the ontology in a disclosure panel, closed at start.
|
void |
OntologyClassView.ontologyReset(Ontology ontology) |
void |
OntologyClassView.resourceAdded(Ontology ontology,
OResource resource) |
void |
OntologyClassView.resourcePropertyValueChanged(Ontology ontology,
OResource resource,
RDFProperty property,
Object value,
int eventType) |
void |
OntologyClassView.resourceRelationChanged(Ontology ontology,
OResource resource1,
OResource resource2,
int eventType) |
void |
OntologyClassView.resourcesRemoved(Ontology ontology,
String[] resources) |
Modifier and Type | Field and Description |
---|---|
protected Ontology |
AnnotationPropertyAction.ontology |
protected Ontology |
DatatypePropertyAction.ontology |
protected Ontology |
DeleteOntologyResourceAction.ontology |
protected Ontology |
DetailsTableModel.ontology |
protected Ontology |
ObjectPropertyAction.ontology |
protected Ontology |
OntologyEditor.ontology
the ontology instance
|
protected Ontology |
RestrictionAction.ontology |
protected Ontology |
SubClassAction.ontology |
protected Ontology |
SymmetricPropertyAction.ontology |
protected Ontology |
TopClassAction.ontology |
protected Ontology |
TransitivePropertyAction.ontology |
Modifier and Type | Method and Description |
---|---|
Ontology |
AnnotationPropertyAction.getOntology() |
Ontology |
DatatypePropertyAction.getOntology() |
Ontology |
DeleteOntologyResourceAction.getOntology() |
Ontology |
DetailsTableModel.getOntology() |
Ontology |
InstanceAction.getOntology() |
Ontology |
ObjectPropertyAction.getOntology() |
Ontology |
RestrictionAction.getOntology() |
Ontology |
SubClassAction.getOntology() |
Ontology |
SymmetricPropertyAction.getOntology() |
Ontology |
TopClassAction.getOntology() |
Ontology |
TransitivePropertyAction.getOntology() |
Modifier and Type | Method and Description |
---|---|
void |
OntologyEditor.ontologyModified(Ontology ontology,
OResource resource,
int eventType)
This method is invoked from ontology whenever it is modified
|
void |
OntologyEditor.ontologyReset(Ontology ontology)
This method is called whenever ontology is reset.
|
void |
OntologyEditor.resourceAdded(Ontology ontology,
OResource resource) |
void |
OntologyEditor.resourcePropertyValueChanged(Ontology ontology,
OResource resource,
RDFProperty property,
Object value,
int eventType) |
void |
OntologyEditor.resourceRelationChanged(Ontology ontology,
OResource resource1,
OResource resouce2,
int eventType) |
void |
OntologyEditor.resourcesRemoved(Ontology ontology,
String[] resources) |
void |
AnnotationPropertyAction.setOntology(Ontology ontology)
Specifies the ontology that should be used to add/remove resource to/from.
|
void |
DatatypePropertyAction.setOntology(Ontology ontology) |
void |
DeleteOntologyResourceAction.setOntology(Ontology ontology) |
void |
DetailsTableModel.setOntology(Ontology ontology) |
void |
InstanceAction.setOntology(Ontology ontology) |
void |
ObjectPropertyAction.setOntology(Ontology ontology) |
void |
RestrictionAction.setOntology(Ontology ontology1) |
void |
SubClassAction.setOntology(Ontology ontology) |
void |
SymmetricPropertyAction.setOntology(Ontology ontology) |
void |
TopClassAction.setOntology(Ontology ontology) |
void |
TransitivePropertyAction.setOntology(Ontology ontology) |
Modifier and Type | Field and Description |
---|---|
protected Ontology |
Transducer.ontology |
Modifier and Type | Method and Description |
---|---|
Ontology |
ControllerEventBlocksAction.getOntology() |
Ontology |
Transducer.getOntology()
Gets the ontology used by this transducer;
|
Modifier and Type | Method and Description |
---|---|
void |
RhsAction.doit(Document doc,
Map<String,AnnotationSet> bindings,
AnnotationSet inputAS,
AnnotationSet outputAS,
Ontology ontology)
Fires the RHS action for a particular LHS match.
|
boolean |
Constraint.matches(Annotation annot,
Ontology ontologyLR,
AnnotationSet context)
Test if an annotation is of the proper type for this constraint and
if it complies with the
ConstraintPredicate s of this
constraint. |
List<Annotation> |
Constraint.matches(Collection<Annotation> annots,
Ontology ontology,
AnnotationSet context)
Invoke
Constraint.matches(Annotation, Ontology, AnnotationSet) on all provided
annotations. |
void |
Batch.runControllerExecutionAbortedBlock(ActionContext ac,
Controller c,
Throwable t,
Ontology o) |
void |
MultiPhaseTransducer.runControllerExecutionAbortedBlock(ActionContext ac,
Controller c,
Throwable throwable,
Ontology o) |
void |
SinglePhaseTransducer.runControllerExecutionAbortedBlock(ActionContext ac,
Controller c,
Throwable t,
Ontology o) |
void |
Batch.runControllerExecutionFinishedBlock(ActionContext ac,
Controller c,
Ontology o) |
void |
MultiPhaseTransducer.runControllerExecutionFinishedBlock(ActionContext ac,
Controller c,
Ontology o) |
void |
SinglePhaseTransducer.runControllerExecutionFinishedBlock(ActionContext ac,
Controller c,
Ontology o) |
void |
Batch.runControllerExecutionStartedBlock(ActionContext ac,
Controller c,
Ontology o) |
void |
MultiPhaseTransducer.runControllerExecutionStartedBlock(ActionContext ac,
Controller c,
Ontology o) |
void |
SinglePhaseTransducer.runControllerExecutionStartedBlock(ActionContext ac,
Controller c,
Ontology o) |
void |
Batch.setOntology(Ontology ontology)
Sets the ontology to be used by the transducers
|
void |
ControllerEventBlocksAction.setOntology(Ontology o) |
void |
MultiPhaseTransducer.setOntology(Ontology ontology)
Sets the ontology used by this transducer;
|
void |
Transducer.setOntology(Ontology ontology)
Sets the ontology used by this transducer;
|
void |
RightHandSide.transduce(Document doc,
Map<String,AnnotationSet> bindings,
AnnotationSet inputAS,
AnnotationSet outputAS,
Ontology ontology,
ActionContext actionContext)
Makes changes to the document, using LHS bindings.
|
Modifier and Type | Method and Description |
---|---|
protected OClass |
SimpleFeatureMapImpl.getClassForURIOrName(Ontology ontologyLR,
String name)
Look up the given name in the given ontology.
|
boolean |
SimpleFeatureMapImpl.subsumes(Ontology ontologyLR,
FeatureMap aFeatureMap)
Tests if this featureMap object includes aFeatureMap features.
|