|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LiteralIndex

Index for literal values stored in a topic map.
| Method Summary | |
|---|---|
java.util.Collection<Name> |
getNames(java.lang.String value)
Retrieves the topic names in the topic map which have a value equal to value. |
java.util.Collection<Occurrence> |
getOccurrences(Locator value)
Returns the Occurrences in the topic map whose value property
matches the IRI represented by value. |
java.util.Collection<Occurrence> |
getOccurrences(java.lang.String value)
Returns the Occurrences in the topic map whose value property
matches value and whose datatype property is
xsd:string. |
java.util.Collection<Occurrence> |
getOccurrences(java.lang.String value,
Locator datatype)
Returns the Occurrences in the topic map whose value property
matches value and whose datatye is datatype. |
java.util.Collection<Variant> |
getVariants(Locator value)
Returns the Variants in the topic map whose value property
matches the IRI represented by value. |
java.util.Collection<Variant> |
getVariants(java.lang.String value)
Returns the Variants in the topic map whose value property
matches value and whose datatype property is
xsd:string. |
java.util.Collection<Variant> |
getVariants(java.lang.String value,
Locator datatype)
Returns the Variants in the topic map whose value property
matches value and whose datatye is datatype. |
| Methods inherited from interface org.tmapi.index.Index |
|---|
close, isAutoUpdated, isOpen, open, reindex |
| Method Detail |
|---|
java.util.Collection<Occurrence> getOccurrences(java.lang.String value)
Occurrences in the topic map whose value property
matches value and whose datatype property is
xsd:string.
The return value may be empty but must never be null.
value - The value of the Occurrences to be returned.
Occurrences.
java.lang.IllegalArgumentException - If the value is null.java.util.Collection<Occurrence> getOccurrences(Locator value)
Occurrences in the topic map whose value property
matches the IRI represented by value.
Those Occurrences which have a datatype equal to
xsd:anyURI
and their value property is equal to Locator.getReference()
are returned.
value - The value of the Occurrences to be returned.
Occurrences.
java.lang.IllegalArgumentException - If the value is null.
java.util.Collection<Occurrence> getOccurrences(java.lang.String value,
Locator datatype)
Occurrences in the topic map whose value property
matches value and whose datatye is datatype.
The return value may be empty but must never be null.
value - The value of the Occurrences to be returned.datatype - The datatype of the Occurrences to be returned.
Occurrences.
java.lang.IllegalArgumentException - If the value or datatype is null.java.util.Collection<Variant> getVariants(java.lang.String value)
Variants in the topic map whose value property
matches value and whose datatype property is
xsd:string.
The return value may be empty but must never be null.
value - The value of the Variants to be returned.
Variants.
java.lang.IllegalArgumentException - If the value is null.java.util.Collection<Variant> getVariants(Locator value)
Variants in the topic map whose value property
matches the IRI represented by value.
Those Variants which have a datatype equal to
xsd:anyURI
and their value property is equal to Locator.getReference()
are returned.
value - The value of the Variants to be returned.
Variants.
java.lang.IllegalArgumentException - If the value is null.
java.util.Collection<Variant> getVariants(java.lang.String value,
Locator datatype)
Variants in the topic map whose value property
matches value and whose datatye is datatype.
The return value may be empty but must never be null.
value - The value of the Variants to be returned.datatype - The datatype of the Variants to be returned.
Variants.
java.lang.IllegalArgumentException - If the value or datatype is null.java.util.Collection<Name> getNames(java.lang.String value)
value - The value of the Names to be returned.
Names.
java.lang.IllegalArgumentException - If the value is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||