org.apache.ws.scout.registry.infomodel
Class InternationalStringImpl

java.lang.Object
  extended by org.apache.ws.scout.registry.infomodel.InternationalStringImpl
All Implemented Interfaces:
InternationalString

public class InternationalStringImpl
extends Object
implements InternationalString

For futher details, look into the JAXR API Javadoc.

Author:
Anil Saldhana

Constructor Summary
InternationalStringImpl()
           
InternationalStringImpl(Locale locale, String str, String charsetName)
           
InternationalStringImpl(String str)
           
 
Method Summary
 void addLocalizedString(LocalizedString localizedString)
           
 void addLocalizedStrings(Collection collection)
           
 LocalizedString getLocalizedString(Locale locale, String charset)
           
 Collection<LocalizedString> getLocalizedStrings()
           
 String getValue()
           
 String getValue(Locale locale)
           
 void removeLocalizedString(LocalizedString localizedString)
           
 void removeLocalizedStrings(Collection collection)
           
 void setValue(Locale locale, String value)
           
 void setValue(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternationalStringImpl

public InternationalStringImpl()

InternationalStringImpl

public InternationalStringImpl(String str)

InternationalStringImpl

public InternationalStringImpl(Locale locale,
                               String str,
                               String charsetName)
Method Detail

addLocalizedString

public void addLocalizedString(LocalizedString localizedString)
                        throws JAXRException
Specified by:
addLocalizedString in interface InternationalString
Throws:
JAXRException

addLocalizedStrings

public void addLocalizedStrings(Collection collection)
                         throws JAXRException
Specified by:
addLocalizedStrings in interface InternationalString
Throws:
JAXRException

getLocalizedStrings

public Collection<LocalizedString> getLocalizedStrings()
                                                throws JAXRException
Specified by:
getLocalizedStrings in interface InternationalString
Throws:
JAXRException

getValue

public String getValue()
                throws JAXRException
Specified by:
getValue in interface InternationalString
Throws:
JAXRException

setValue

public void setValue(String str)
              throws JAXRException
Specified by:
setValue in interface InternationalString
Throws:
JAXRException

getValue

public String getValue(Locale locale)
                throws JAXRException
Specified by:
getValue in interface InternationalString
Throws:
JAXRException

setValue

public void setValue(Locale locale,
                     String value)
              throws JAXRException
Specified by:
setValue in interface InternationalString
Throws:
JAXRException

removeLocalizedString

public void removeLocalizedString(LocalizedString localizedString)
                           throws JAXRException
Specified by:
removeLocalizedString in interface InternationalString
Throws:
JAXRException

removeLocalizedStrings

public void removeLocalizedStrings(Collection collection)
                            throws JAXRException
Specified by:
removeLocalizedStrings in interface InternationalString
Throws:
JAXRException

getLocalizedString

public LocalizedString getLocalizedString(Locale locale,
                                          String charset)
                                   throws JAXRException
Specified by:
getLocalizedString in interface InternationalString
Throws:
JAXRException


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.