|
Xindice API version 1.2m1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xindice.core.indexer.BasicIndexerEventHandler
Empty implementation of IndexerEventHandler that does nothing.
| Constructor Summary | |
BasicIndexerEventHandler()
|
|
| Method Summary | |
void |
onDocumentAdded(Key key)
onDocumentAdded method is called after document is added and all its elements are processed. |
void |
onDocumentDeleted(Key key)
onDocumentDeleted method is called after document is deleted and all its elements are processed. |
void |
onNameAdded(IndexPattern pattern,
Key key,
short elemID,
short attrID)
onNameAdded called for every element/attribute in the document being added that matches any of the Indexer pattern. |
void |
onNameDeleted(IndexPattern pattern,
Key key,
short elemID,
short attrID)
onNameDeleted called for every element/attribute in the document being deleted that matches any of the Indexer pattern. |
void |
onValueAdded(IndexPattern pattern,
String value,
Key key,
int pos,
int len,
short elemID,
short attrID)
onValueAdded called for every element/attribute in the document being added that matches any of the Indexer pattern. |
void |
onValueDeleted(IndexPattern pattern,
String value,
Key key,
int pos,
int len,
short elemID,
short attrID)
onValueDeleted called for every element/attribute in the document being deleted that matches any of the Indexer pattern. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicIndexerEventHandler()
| Method Detail |
public void onDocumentAdded(Key key)
throws DBException
IndexerEventHandler
onDocumentAdded in interface IndexerEventHandlerkey - Document key
DBException
public void onDocumentDeleted(Key key)
throws DBException
IndexerEventHandler
onDocumentDeleted in interface IndexerEventHandlerkey - Document key
DBException
public void onNameAdded(IndexPattern pattern,
Key key,
short elemID,
short attrID)
throws DBException
IndexerEventHandler
onNameAdded in interface IndexerEventHandlerpattern - Indexer pattern that matches the element/attributekey - Document keyelemID - Element ID that matches the patternattrID - Attribute ID that matches the pattern
DBException
public void onNameDeleted(IndexPattern pattern,
Key key,
short elemID,
short attrID)
throws DBException
IndexerEventHandler
onNameDeleted in interface IndexerEventHandlerpattern - Indexer pattern that matches the element/attributekey - Document keyelemID - Element ID that matches the patternattrID - Attribute ID that matches the pattern
DBException
public void onValueAdded(IndexPattern pattern,
String value,
Key key,
int pos,
int len,
short elemID,
short attrID)
throws DBException
IndexerEventHandler
onValueAdded in interface IndexerEventHandlerpattern - Indexer pattern that matches the element/attributevalue - Element/attribute value to addkey - Document keypos - The offset into the stream the Element occurs atlen - The length of the substream for the ElementelemID - Element ID that matches the patternattrID - Attribute ID that matches the pattern
DBException
public void onValueDeleted(IndexPattern pattern,
String value,
Key key,
int pos,
int len,
short elemID,
short attrID)
throws DBException
IndexerEventHandler
onValueDeleted in interface IndexerEventHandlerpattern - Indexer pattern that matches the element/attributevalue - Element/attribute value to deletekey - Document keypos - The offset into the stream the Element occurs atlen - The length of the substream for the ElementelemID - Element ID that matches the patternattrID - Attribute ID that matches the pattern
DBException
|
Xindice API version 1.2m1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||