org.dspace.text.filter
Class MARC21InitialArticleWord
java.lang.Object
org.dspace.text.filter.InitialArticleWord
org.dspace.text.filter.MARC21InitialArticleWord
- All Implemented Interfaces:
- TextFilter
public class MARC21InitialArticleWord
- extends InitialArticleWord
Implements MARC 21 standards to disregard initial
definite or indefinite article in sorting.
Note: This only works for languages defined with IANA code entries.
- Author:
- Graham Triggs
|
Method Summary |
protected String[] |
getArticleWords(String lang)
Return the list of definite and indefinite article codes
for this language. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MARC21InitialArticleWord
public MARC21InitialArticleWord()
MARC21InitialArticleWord
public MARC21InitialArticleWord(boolean stripWord)
getArticleWords
protected String[] getArticleWords(String lang)
- Return the list of definite and indefinite article codes
for this language.
- Specified by:
getArticleWords in class InitialArticleWord
- Parameters:
lang - The language to retrieve article words for
- Returns:
- An array of definite/indefinite article words
Copyright © 2011 DuraSpace. All Rights Reserved.