org.apache.juddi.v3.client.i18n
Class EntityForLang

java.lang.Object
  extended by org.apache.juddi.v3.client.i18n.EntityForLang

public class EntityForLang
extends Object

Returns the entity in the proper language. If no language is specified or if no language is matched return the value of the first entity in the list.


Constructor Summary
EntityForLang()
           
 
Method Summary
static Address getAddress(List<Address> entityList, String lang)
           
static Description getDescription(List<Description> entityList, String lang)
           
static Name getName(List<Name> entityList, String lang)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityForLang

public EntityForLang()
Method Detail

getName

public static Name getName(List<Name> entityList,
                           String lang)

getAddress

public static Address getAddress(List<Address> entityList,
                                 String lang)

getDescription

public static Description getDescription(List<Description> entityList,
                                         String lang)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.