org.dspace.text.filter
Class MARC21InitialArticleWord

java.lang.Object
  extended by org.dspace.text.filter.InitialArticleWord
      extended by 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

Constructor Summary
MARC21InitialArticleWord()
           
MARC21InitialArticleWord(boolean stripWord)
           
 
Method Summary
protected  String[] getArticleWords(String lang)
          Return the list of definite and indefinite article codes for this language.
 
Methods inherited from class org.dspace.text.filter.InitialArticleWord
filter, filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MARC21InitialArticleWord

public MARC21InitialArticleWord()

MARC21InitialArticleWord

public MARC21InitialArticleWord(boolean stripWord)
Method Detail

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 © 2010 DuraSpace. All Rights Reserved.