org.andromda.core.translation.library
Class LibraryTranslationFinder

java.lang.Object
  extended by org.andromda.core.translation.library.LibraryTranslationFinder

public class LibraryTranslationFinder
extends java.lang.Object

Finds LibraryTranslations by code>translation (i.e. library and name).

Author:
Chad Brandon

Field Summary
protected static java.util.Map libraryTranslations
          Stores the found library translations.
 
Constructor Summary
LibraryTranslationFinder()
           
 
Method Summary
protected static Library findLibrary(java.lang.String libraryName)
          Finds the library with the specified libraryName.
static LibraryTranslation findLibraryTranslation(java.lang.String translation)
          Finds the LibraryTranslation with the specified translationName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

libraryTranslations

protected static final java.util.Map libraryTranslations
Stores the found library translations.

Constructor Detail

LibraryTranslationFinder

public LibraryTranslationFinder()
Method Detail

findLibrary

protected static Library findLibrary(java.lang.String libraryName)
Finds the library with the specified libraryName.

Parameters:
libraryName -
Returns:
the Library found or null if none is found.

findLibraryTranslation

public static LibraryTranslation findLibraryTranslation(java.lang.String translation)
Finds the LibraryTranslation with the specified translationName.

Parameters:
translation - the name of the translation to find.
Returns:
the LibraryTranslation found or null if none is found.


Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.