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 org.uddi.api_v3.Address getAddress(List<org.uddi.api_v3.Address> entityList, String lang)
           
static org.uddi.api_v3.Description getDescription(List<org.uddi.api_v3.Description> entityList, String lang)
           
static org.uddi.api_v3.Name getName(List<org.uddi.api_v3.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 org.uddi.api_v3.Name getName(List<org.uddi.api_v3.Name> entityList,
                                           String lang)

getAddress

public static org.uddi.api_v3.Address getAddress(List<org.uddi.api_v3.Address> entityList,
                                                 String lang)

getDescription

public static org.uddi.api_v3.Description getDescription(List<org.uddi.api_v3.Description> entityList,
                                                         String lang)


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