public enum SearchScope extends java.lang.Enum<SearchScope>
SearchParameters
列挙型定数と説明 |
---|
ANNOTATION |
DESCRIPTION |
NAME |
修飾子とタイプ | メソッドと説明 |
---|---|
java.lang.String |
getStringRepresentation()
Get a String representation of this scope which can be used in a
lucene search
|
static java.lang.String |
getStringRepresentation(java.util.Collection<SearchScope> scopes)
Get a String representation of the given scopes which can be used in a
lucence search
|
static SearchScope |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static SearchScope[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final SearchScope NAME
public static final SearchScope DESCRIPTION
public static final SearchScope ANNOTATION
public static SearchScope[] values()
for(SearchScope c: SearchScope.values()) System.out.println(c);
public static SearchScope valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合public java.lang.String getStringRepresentation()
public static java.lang.String getStringRepresentation(java.util.Collection<SearchScope> scopes)
scopes
- The scopes