net.jxta.index
Interface IndexService.Index
- Enclosing class:
- net.jxta.index.IndexService
- public static interface IndexService.Index
Method Summary |
void |
add(java.lang.String id,
java.io.InputStream xmlDoc)
|
java.lang.String[] |
query(java.lang.String xpathQuery)
Return an array of document ids matching the given xpath string. |
void |
remove(java.lang.String id)
|
add
public void add(java.lang.String id,
java.io.InputStream xmlDoc)
throws java.io.IOException,
IndexService.BadDocumentException
remove
public void remove(java.lang.String id)
query
public java.lang.String[] query(java.lang.String xpathQuery)
throws IndexService.BadQueryException
- Return an array of document ids matching the given xpath string.