org.dspace.text.filter
Class StandardInitialArticleWord

java.lang.Object
  extended by org.dspace.text.filter.InitialArticleWord
      extended by org.dspace.text.filter.StandardInitialArticleWord
All Implemented Interfaces:
TextFilter

public class StandardInitialArticleWord
extends InitialArticleWord

Implements existing DSpace initial article word behaviour Note: This only works for languages defined with ISO code entries.

Author:
Graham Triggs

Constructor Summary
StandardInitialArticleWord()
           
 
Method Summary
protected  String[] getArticleWords(String lang)
          Abstract method to get the list of words to use in the initial word filter
 
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

StandardInitialArticleWord

public StandardInitialArticleWord()
Method Detail

getArticleWords

protected String[] getArticleWords(String lang)
Description copied from class: InitialArticleWord
Abstract method to get the list of words to use in the initial word filter

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.