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.
    Author:
    Farrukh S. Najmi
    See Also:
    InternationalString
    • Field Detail

      • DEFAULT_CHARSET_NAME

        static final String DEFAULT_CHARSET_NAME
        The default name returned by getCharsetName if no other name has explicitly been set.
        See Also:
        Constant Field Values
    • Method Detail

      • getCharsetName

        String getCharsetName()
                       throws JAXRException
        Gets the canonical name for the charset for this object. Must return the default charset when there is no charset name defined.

        Capability Level: 0
        Returns:
        the character set name for the character set used by this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        DEFAULT_CHARSET_NAME
      • getLocale

        Locale getLocale()
                  throws JAXRException
        Get the Locale for this object. Must return the default Locale when no Locale has been defined.

        Capability Level: 0
        Returns:
        the Locale used by this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        Locale.getDefault()
      • getValue

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

        Capability Level: 0
        Returns:
        the value defined by this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setCharsetName

        void setCharsetName(String charsetName)
                     throws JAXRException
        Set the canonical name for the charset for this object.

        Capability Level: 0
        Parameters:
        charsetName - the character set name for the character set used by this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setLocale

        void setLocale(Locale locale)
                throws JAXRException
        Set the Locale for this object.

        Capability Level: 0
        Parameters:
        locale - the Locale used by this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setValue

        void setValue(String value)
               throws JAXRException
        Set the String value for the specified object.

        Capability Level: 0
        Parameters:
        value - the value defined by this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error

Deutsche Übersetzung

Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.

Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.

Vielen Dank im Voraus.

Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/xml/registry/infomodel/LocalizedString.html

Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.

Referenzen

  1. Zeigen Sie - html-Dokument Sprache des Dokuments:fr Manuel PHP : https://docs.oracle.com, LocalizedString (Java(TM) EE 7 Specification APIs)

Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.