Package com.sun.istack.localization
Interface Localizable
- All Known Implementing Classes:
ClientTransportException,DeserializationException,ExceptionHasMessage,HandlerException,JAXWSExceptionBase,LocalizableMessage,MessageCreationException,NullLocalizable,RuntimeModelerException,SenderException,SerializationException,ServerRtException,UnsupportedMediaException,UtilException,VersionMismatchException,XMLMessageException,XMLReaderException,XMLStreamReaderException,XMLStreamWriterException
public interface Localizable
Localizable message.
- Author:
- WS Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSpecial constant that represents a message that is not localizable. -
Method Summary
Modifier and TypeMethodDescriptionObject[]Returns the arguments for message formatting.getKey()Gets the key in the resource bundle.getResourceBundle(Locale locale)
-
Field Details
-
NOT_LOCALIZABLE
Special constant that represents a message that is not localizable.Use of "new" is to create an unique instance.
- See Also:
-
-
Method Details
-
getKey
String getKey()Gets the key in the resource bundle.- Returns:
- if this method returns
NOT_LOCALIZABLE, that means the message is not localizable, and the first item ofgetArguments()array holds a String.
-
getArguments
Object[] getArguments()Returns the arguments for message formatting.- Returns:
- can be an array of length 0 but never be null.
-
getResourceBundleName
String getResourceBundleName() -
getResourceBundle
-