|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Literal | |
---|---|
gate.creole.ontology | The GATE ontology API. |
Uses of Literal in gate.creole.ontology |
---|
Methods in gate.creole.ontology that return Literal | |
---|---|
Literal |
LiteralOrONodeID.getLiteral()
Get the Literal object if this object represents a literal. |
Literal |
OValue.getLiteral()
Get the Literal object if this object represents a literal. |
Methods in gate.creole.ontology that return types with arguments of type Literal | |
---|---|
List<Literal> |
OResource.getAnnotationPropertyValues(AnnotationProperty theAnnotationProperty)
Gets the list of values for a given property name. |
Set<Literal> |
OResource.getComments()
Deprecated. |
List<Literal> |
OInstance.getDatatypePropertyValues(DatatypeProperty aProperty)
Gets a list of values for the given Property. |
Set<Literal> |
OResource.getLabels()
This method returns a set of labels specified on this resource. |
List<Literal> |
Ontology.getOntologyAnnotationValues(AnnotationProperty ann)
Get the values of an ontology annotation property. |
Methods in gate.creole.ontology with parameters of type Literal | |
---|---|
void |
OResource.addAnnotationPropertyValue(AnnotationProperty theAnnotationProperty,
Literal literal)
Adds a new annotation property value and specifies the language. |
void |
OInstance.addDatatypePropertyValue(DatatypeProperty aProperty,
Literal value)
Adds the value for the given Property. |
void |
OntologyTripleStore.addTriple(ONodeID subject,
OURI predicate,
Literal object)
Add a triple with a literal triple object to the triple store. |
List<OResource> |
Ontology.getOResourcesWith(RDFProperty aProperty,
Literal aValue)
This method given a property (either an annotation or datatype), retrieves a list of resources which have the provided literal set as a value. |
boolean |
OResource.hasAnnotationPropertyWithValue(AnnotationProperty aProperty,
Literal aValue)
Checks if the resource has the provided annotation property set on it with the specified value. |
boolean |
OInstance.hasDatatypePropertyWithValue(DatatypeProperty aProperty,
Literal aValue)
Checks if the resource has the provided datatype property set on it with the specified value. |
void |
OResource.removeAnnotationPropertyValue(AnnotationProperty theAnnotationProperty,
Literal literal)
For the current resource, the method removes the given literal for the given property. |
void |
OInstance.removeDatatypePropertyValue(DatatypeProperty aProperty,
Literal value)
Remove the provided value for the given property. |
void |
OntologyTripleStore.removeTriple(ONodeID subject,
OURI predicate,
Literal object)
Remove a statement(triple) with a literal triple object from the ontology triple store. |
void |
OntologyTupleQuery.setBinding(String varName,
Literal value)
Set the binding of a query variable to a new value. |
void |
HasValueRestriction.setHasValue(Literal resource)
Sets the literal as a restricted value. |
void |
Ontology.setOntologyAnnotation(AnnotationProperty ann,
Literal value)
Set an annotation property for the ontology to the specified literal value. |
void |
OntologyTripleStoreListener.tripleAdded(ONodeID subject,
OURI predicate,
Literal object)
|
void |
OntologyTripleStoreListener.tripleRemoved(ONodeID subject,
OURI predicate,
Literal object)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |