Class LocalizedStringImpl

  • All Implemented Interfaces:
    Serializable, javax.xml.registry.infomodel.LocalizedString

    public class LocalizedStringImpl
    extends Object
    implements javax.xml.registry.infomodel.LocalizedString, Serializable
    Implementation of JAXR LocalizedString.
    Author:
    Bobby Bissett
    See Also:
    Serialized Form
    • Constructor Detail

      • LocalizedStringImpl

        public LocalizedStringImpl()
        Default constructor
      • LocalizedStringImpl

        public LocalizedStringImpl​(Locale locale,
                                   String value)
        Utility constructor sets locale and value
        Parameters:
        locale - The locale for this localized string
        value - The string value for this localized string
    • Method Detail

      • getLocale

        public Locale getLocale()
                         throws javax.xml.registry.JAXRException
        Get the locale
        Specified by:
        getLocale in interface javax.xml.registry.infomodel.LocalizedString
        Throws:
        javax.xml.registry.JAXRException
      • setLocale

        public void setLocale​(Locale locale)
                       throws javax.xml.registry.JAXRException
        Set the locale
        Specified by:
        setLocale in interface javax.xml.registry.infomodel.LocalizedString
        Throws:
        javax.xml.registry.JAXRException
      • getValue

        public String getValue()
                        throws javax.xml.registry.JAXRException
        Get the value
        Specified by:
        getValue in interface javax.xml.registry.infomodel.LocalizedString
        Throws:
        javax.xml.registry.JAXRException
      • setValue

        public void setValue​(String value)
                      throws javax.xml.registry.JAXRException
        Set the value
        Specified by:
        setValue in interface javax.xml.registry.infomodel.LocalizedString
        Throws:
        javax.xml.registry.JAXRException
      • getCharsetName

        public String getCharsetName()
                              throws javax.xml.registry.JAXRException
        Get the charset name
        Specified by:
        getCharsetName in interface javax.xml.registry.infomodel.LocalizedString
        Throws:
        javax.xml.registry.JAXRException
      • setCharsetName

        public void setCharsetName​(String charset)
                            throws javax.xml.registry.JAXRException
        Set the charset name
        Specified by:
        setCharsetName in interface javax.xml.registry.infomodel.LocalizedString
        Throws:
        javax.xml.registry.JAXRException