|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.analysis.TokenStream
org.apache.jackrabbit.core.query.lucene.SingletonTokenStream
public final class SingletonTokenStream
SingletonTokenStream implements a token stream that wraps a
single value with a given property type. The property type is stored as a
payload on the single returned token.
| Constructor Summary | |
|---|---|
SingletonTokenStream(java.lang.String value,
int type)
Creates a new SingleTokenStream with the given value and a property type. |
|
| Method Summary | |
|---|---|
org.apache.lucene.analysis.Token |
next()
|
| Methods inherited from class org.apache.lucene.analysis.TokenStream |
|---|
close, next, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingletonTokenStream(java.lang.String value,
int type)
type.
value - the string value that will be returned with the token.type - the JCR property type.| Method Detail |
|---|
public org.apache.lucene.analysis.Token next()
next in class org.apache.lucene.analysis.TokenStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||