IT. Expert System.

Java Enterprise Edition (EE)

LocalizedString


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 Summary
static java.lang.String DEFAULT_CHARSET_NAME
          The default name returned by getCharsetName if no other name has explicitly been set.
 
Method Summary
 java.lang.String getCharsetName()
          Gets the canonical name for the charset for this object.
 java.util.Locale getLocale()
          Get the Locale for this object.
 java.lang.String getValue()
          Get the String value for this object.
 void setCharsetName(java.lang.String charsetName)
          Set the canonical name for the charset for this object.
 void setLocale(java.util.Locale locale)
          Set the Locale for this object.
 void setValue(java.lang.String value)
          Set the String value for the specified object.
 

Field Detail

DEFAULT_CHARSET_NAME

static final java.lang.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

java.lang.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:
LocalizedString#DEFAULT_CHARSET_NAME

getLocale

java.util.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

java.lang.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(java.lang.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(java.util.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(java.lang.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


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 928 / 248551299. Delta: 0.02091 с