com.sun.xml.xsom.impl.parser
Class Messages

java.lang.Object
  extended by com.sun.xml.xsom.impl.parser.Messages

public class Messages
extends Object

Formats error messages.


Field Summary
static String ERR_DOUBLE_DEFINITION
           
static String ERR_DOUBLE_DEFINITION_ORIGINAL
           
static String ERR_ENTITY_RESOLUTION_FAILURE
           
static String ERR_MISSING_SCHEMALOCATION
           
static String ERR_SIMPLE_CONTENT_EXPECTED
           
static String ERR_UNDEFINED_ATTRIBUTE
           
static String ERR_UNDEFINED_ATTRIBUTEGROUP
           
static String ERR_UNDEFINED_COMPLEXTYPE
           
static String ERR_UNDEFINED_ELEMENT
           
static String ERR_UNDEFINED_IDENTITY_CONSTRAINT
           
static String ERR_UNDEFINED_MODELGROUP
           
static String ERR_UNDEFINED_PREFIX
           
static String ERR_UNDEFINED_SIMPLETYPE
           
static String ERR_UNDEFINED_TYPE
           
 
Constructor Summary
Messages()
           
 
Method Summary
static String format(String property, Object... args)
          Loads a string resource and formats it with specified arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERR_UNDEFINED_SIMPLETYPE

public static final String ERR_UNDEFINED_SIMPLETYPE
See Also:
Constant Field Values

ERR_UNDEFINED_COMPLEXTYPE

public static final String ERR_UNDEFINED_COMPLEXTYPE
See Also:
Constant Field Values

ERR_UNDEFINED_TYPE

public static final String ERR_UNDEFINED_TYPE
See Also:
Constant Field Values

ERR_UNDEFINED_ELEMENT

public static final String ERR_UNDEFINED_ELEMENT
See Also:
Constant Field Values

ERR_UNDEFINED_MODELGROUP

public static final String ERR_UNDEFINED_MODELGROUP
See Also:
Constant Field Values

ERR_UNDEFINED_ATTRIBUTE

public static final String ERR_UNDEFINED_ATTRIBUTE
See Also:
Constant Field Values

ERR_UNDEFINED_ATTRIBUTEGROUP

public static final String ERR_UNDEFINED_ATTRIBUTEGROUP
See Also:
Constant Field Values

ERR_UNDEFINED_IDENTITY_CONSTRAINT

public static final String ERR_UNDEFINED_IDENTITY_CONSTRAINT
See Also:
Constant Field Values

ERR_UNDEFINED_PREFIX

public static final String ERR_UNDEFINED_PREFIX
See Also:
Constant Field Values

ERR_DOUBLE_DEFINITION

public static final String ERR_DOUBLE_DEFINITION
See Also:
Constant Field Values

ERR_DOUBLE_DEFINITION_ORIGINAL

public static final String ERR_DOUBLE_DEFINITION_ORIGINAL
See Also:
Constant Field Values

ERR_MISSING_SCHEMALOCATION

public static final String ERR_MISSING_SCHEMALOCATION
See Also:
Constant Field Values

ERR_ENTITY_RESOLUTION_FAILURE

public static final String ERR_ENTITY_RESOLUTION_FAILURE
See Also:
Constant Field Values

ERR_SIMPLE_CONTENT_EXPECTED

public static final String ERR_SIMPLE_CONTENT_EXPECTED
See Also:
Constant Field Values
Constructor Detail

Messages

public Messages()
Method Detail

format

public static String format(String property,
                            Object... args)
Loads a string resource and formats it with specified arguments.



Copyright © 2012 Oracle. All Rights Reserved.