javax.xml.registry.infomodel
Interface LocalizedString


public interface LocalizedString

This interface is used as a simple wrapper interface that associates a String with its Locale. The interface is needed in the InternationalString interface where a Collection of LocalizedString instances are kept. Each LocalizedString instance has a Locale and a String instance.

See Also:
InternationalString

Method Summary
 java.util.Locale getLocale()
          Get the Locale for this object.
 java.lang.String getValue()
          Get the String value for this object.
 void setLocale(java.util.Locale l)
          Set the Locale for this object.
 void setValue(java.lang.String s)
          Set the String value for the specified object.
 

Method Detail

getLocale

public java.util.Locale getLocale()
                           throws JAXRException
Get the Locale for this object.

getValue

public java.lang.String getValue()
                          throws JAXRException
Get the String value for this object.

setLocale

public void setLocale(java.util.Locale l)
               throws JAXRException
Set the Locale for this object.

setValue

public void setValue(java.lang.String s)
              throws JAXRException
Set the String value for the specified object.