|
||||||||||
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 Occurrence s in the topic map whose value property
matches the IRI represented by value. |
java.util.Collection<Occurrence> |
getOccurrences(java.lang.String value)
Returns the Occurrence s 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 Occurrence s in the topic map whose value property
matches value and whose datatye is datatype. |
java.util.Collection<Variant> |
getVariants(Locator value)
Returns the Variant s in the topic map whose value property
matches the IRI represented by value. |
java.util.Collection<Variant> |
getVariants(java.lang.String value)
Returns the Variant s 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 Variant s 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)
Occurrence
s 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 Occurrence
s to be returned.
Occurrence
s.
java.lang.IllegalArgumentException
- If the value is null.java.util.Collection<Occurrence> getOccurrences(Locator value)
Occurrence
s in the topic map whose value property
matches the IRI represented by value.
Those Occurrence
s which have a datatype equal to
xsd:anyURI
and their value property is equal to Locator.getReference()
are returned.
value
- The value of the Occurrence
s to be returned.
Occurrence
s.
java.lang.IllegalArgumentException
- If the value is null.java.util.Collection<Occurrence> getOccurrences(java.lang.String value, Locator datatype)
Occurrence
s 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 Occurrence
s to be returned.datatype
- The datatype of the Occurrence
s to be returned.
Occurrence
s.
java.lang.IllegalArgumentException
- If the value or datatype is null.java.util.Collection<Variant> getVariants(java.lang.String value)
Variant
s 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 Variant
s to be returned.
Variant
s.
java.lang.IllegalArgumentException
- If the value is null.java.util.Collection<Variant> getVariants(Locator value)
Variant
s in the topic map whose value property
matches the IRI represented by value.
Those Variant
s which have a datatype equal to
xsd:anyURI
and their value property is equal to Locator.getReference()
are returned.
value
- The value of the Variant
s to be returned.
Variant
s.
java.lang.IllegalArgumentException
- If the value is null.java.util.Collection<Variant> getVariants(java.lang.String value, Locator datatype)
Variant
s 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 Variant
s to be returned.datatype
- The datatype of the Variant
s to be returned.
Variant
s.
java.lang.IllegalArgumentException
- If the value or datatype is null.java.util.Collection<Name> getNames(java.lang.String value)
value
- The value of the Name
s to be returned.
Name
s.
java.lang.IllegalArgumentException
- If the value is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |