]> gitweb.fperrin.net Git - Dictionary.git/blob - src/com/hughes/android/dictionary/engine/EntryTypeName.java
go
[Dictionary.git] / src / com / hughes / android / dictionary / engine / EntryTypeName.java
1 // Copyright 2011 Google Inc. All Rights Reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 package com.hughes.android.dictionary.engine;
16
17
18 public enum EntryTypeName {
19
20 //  WIKTIONARY_TITLE_ONE_WORD(0),
21 //  WIKTIONARY_MEANING_ONE_WORD(0),
22 //  WIKTIONARY_TRANSLATION_ONE_WORD(0),
23
24   WIKTIONARY_TITLE_SINGLE(0, true),
25   WIKTIONARY_FORM_SINGLE(0, true),
26
27   NOUN(0),
28   VERB(0),
29   ADJ(0),
30   ADV(0),
31   ONE_WORD(0, true),
32   MULTIROW_HEAD_ONE_WORD(0, true),
33   MULTIROW_TAIL_ONE_WORD(0, true),
34
35   WIKTIONARY_TITLE_MULTI(0, true),
36   WIKTIONARY_FORM_MULTI(0, true),
37   WIKTIONARY_TRANSLATION_SENSE(0),
38   WIKTIONARY_ENGLISH_DEF_WIKI_LINK(0),
39   WIKTIONARY_ENGLISH_DEF_OTHER_LANG(0),
40   WIKTIONARY_ENGLISH_DEF(0),
41
42   TWO_WORDS(0),
43   THREE_WORDS(0),
44   FOUR_WORDS(0),
45   FIVE_OR_MORE_WORDS(0),
46   WIKTIONARY_TRANSLATION_WIKI_TEXT(0),
47   WIKTIONARY_TRANSLATION_OTHER_TEXT(0),
48 //  WIKTIONARY_EXAMPLE_OTHER_WORDS(0),
49   
50   MULTIROW_HEAD_MANY_WORDS(0),
51   MULTIROW_TAIL_MANY_WORDS(0),
52   PART_OF_HYPHENATED(0),
53   BRACKETED(0),
54   PARENTHESIZED(0),
55   SEE_ALSO(0), 
56   WIKTIONARY_TRANSLITERATION(0),
57   ;
58
59   final int nameResId;
60   final boolean overridesStopList;
61   
62   private EntryTypeName(final int nameResId) {
63     this(nameResId, false);
64   }
65
66   private EntryTypeName(final int nameResId, final boolean overridesStopList) {
67     this.nameResId = nameResId;
68     this.overridesStopList = overridesStopList;
69   }
70
71 }