fr.etai.xat2v2.dict
Class Dictionary

java.lang.Object
  extended by fr.etai.xat2v2.dict.Dictionary

public final class Dictionary
extends Object


Nested Class Summary
protected static class Dictionary.Entry
           
 
Method Summary
 boolean existTerm(String ref)
           
 String[] getAllRefs()
           
 String getEquivalenceETAI()
           
 String[] getEquivalentETAIDictionary()
           
 Classification[] getETAIEquivalence(String ref)
          Gets the ETAI equivalent classification(s) of this dictionary ref.
 String getName()
           
 String[] getRefForETAIEquivalence(String etaiDictionary, String etaiRef)
          Get this dictionary refs equivalent to the ETAI classification given
 String getTerm(String ref, String language)
           
 Map<String,String> getTerms(String ref)
           
 boolean isEquivalentETAIDictionary(String dictionary)
           
protected static Dictionary loadFromXML(InputStream dictionaryStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadFromXML

protected static Dictionary loadFromXML(InputStream dictionaryStream)

getName

public String getName()

getTerms

public Map<String,String> getTerms(String ref)

getEquivalentETAIDictionary

public String[] getEquivalentETAIDictionary()

isEquivalentETAIDictionary

public boolean isEquivalentETAIDictionary(String dictionary)

getRefForETAIEquivalence

public String[] getRefForETAIEquivalence(String etaiDictionary,
                                         String etaiRef)
Get this dictionary refs equivalent to the ETAI classification given

Parameters:
c -
Returns:

getETAIEquivalence

public Classification[] getETAIEquivalence(String ref)
Gets the ETAI equivalent classification(s) of this dictionary ref.

Parameters:
ref -
Returns:

getTerm

public String getTerm(String ref,
                      String language)

existTerm

public boolean existTerm(String ref)

getAllRefs

public String[] getAllRefs()

getEquivalenceETAI

public String getEquivalenceETAI()


Copyright © 2012. All Rights Reserved.