Top Description Fields Constructors Methods
org.glassfish.jaxb.core.marshaller

public Class Messages

extends Object
Class Inheritance
Imports
java.text.MessageFormat, java.util.ResourceBundle

Formats error messages.
Since
JAXB 1.0

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
public static final String
ERR_DANGLING_IDREF

Deprecated for removal since 2.0. only used from 1.0
public static final String
ERR_MISSING_OBJECT

Deprecated for removal since 2.0. use ERR_MISSING_OBJECT2
public static final String
ERR_NOT_IDENTIFIABLE

Deprecated for removal since 2.0. only used from 1.0
public static final String
public static final String
public static final String
public static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String
format(String property)

public static String
format(String property, Object arg1)

public static String
format(String property, Object arg1, Object arg2)

public static String
format(String property, Object arg1, Object arg2, Object arg3)

pack-priv static String
format(String property, Object[] args)

Loads a string resource and formats it with specified arguments.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ASSERT_FAILEDback to summary
public static final String ASSERT_FAILED
DOM_IMPL_DOESNT_SUPPORT_CREATELEMENTNSback to summary
public static final String DOM_IMPL_DOESNT_SUPPORT_CREATELEMENTNS
ERR_DANGLING_IDREFback to summary
public static final String ERR_DANGLING_IDREF

Deprecated

for removal since 2.0.

only used from 1.0

Annotations
@Deprecated
since:2.0
forRemoval:true
ERR_MISSING_OBJECTback to summary
public static final String ERR_MISSING_OBJECT

Deprecated

for removal since 2.0.

use ERR_MISSING_OBJECT2

Annotations
@Deprecated
since:2.0
forRemoval:true
ERR_NOT_IDENTIFIABLEback to summary
public static final String ERR_NOT_IDENTIFIABLE

Deprecated

for removal since 2.0.

only used from 1.0

Annotations
@Deprecated
since:2.0
forRemoval:true
NOT_MARSHALLABLEback to summary
public static final String NOT_MARSHALLABLE
NULL_WRITERback to summary
public static final String NULL_WRITER
UNSUPPORTED_ENCODINGback to summary
public static final String UNSUPPORTED_ENCODING
UNSUPPORTED_RESULTback to summary
public static final String UNSUPPORTED_RESULT

Constructor Detail

Messagesback to summary
private Messages()

Method Detail

formatback to summary
public static String format(String property)
formatback to summary
public static String format(String property, Object arg1)
formatback to summary
public static String format(String property, Object arg1, Object arg2)
formatback to summary
public static String format(String property, Object arg1, Object arg2, Object arg3)
formatback to summary
pack-priv static String format(String property, Object[] args)

Loads a string resource and formats it with specified arguments.