com.sun.xml.bind.marshaller
Class Messages
java.lang.Object
com.sun.xml.bind.marshaller.Messages
public class Messages
- extends Object
Formats error messages.
- Since:
- JAXB1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOT_MARSHALLABLE
public static final String NOT_MARSHALLABLE
- See Also:
- Constant Field Values
UNSUPPORTED_RESULT
public static final String UNSUPPORTED_RESULT
- See Also:
- Constant Field Values
UNSUPPORTED_ENCODING
public static final String UNSUPPORTED_ENCODING
- See Also:
- Constant Field Values
NULL_WRITER
public static final String NULL_WRITER
- See Also:
- Constant Field Values
ASSERT_FAILED
public static final String ASSERT_FAILED
- See Also:
- Constant Field Values
ERR_MISSING_OBJECT
public static final String ERR_MISSING_OBJECT
- Deprecated. use ERR_MISSING_OBJECT2
- See Also:
- Constant Field Values
ERR_MISSING_OBJECT2
public static final String ERR_MISSING_OBJECT2
- Deprecated. use
XMLSerializer.reportMissingObjectError(String)
- See Also:
- Constant Field Values
ERR_DANGLING_IDREF
public static final String ERR_DANGLING_IDREF
- Deprecated. only used from 1.0
- See Also:
- Constant Field Values
ERR_NOT_IDENTIFIABLE
public static final String ERR_NOT_IDENTIFIABLE
- Deprecated. only used from 1.0
- See Also:
- Constant Field Values
DOM_IMPL_DOESNT_SUPPORT_CREATELEMENTNS
public static final String DOM_IMPL_DOESNT_SUPPORT_CREATELEMENTNS
- See Also:
- Constant Field Values
Messages
public Messages()
format
public static String format(String property)
format
public static String format(String property,
Object arg1)
format
public static String format(String property,
Object arg1,
Object arg2)
format
public static String format(String property,
Object arg1,
Object arg2,
Object arg3)
format
static String format(String property,
Object[] args)
- Loads a string resource and formats it with specified arguments.