xdoclet

Class XDocletMessages


public final class XDocletMessages
extends java.lang.Object

All messages resource keys should be defined in a Messages class, per package, as constants. The class is named like this: XDocletMessages, or XDocletEjbDdMessages, i.e. full package name prefixed (making pointing to them easier). They should not be referenced literally in any place, because it's easy to misspell it. Using Messages class means this possibility is zero. Another benefit is that wherever you need to reference a resource key from another package, you just use a phrase like xdoclet.ejb.Messages.class and not the literal, and that means if we refactor the code (change packages) a refactoring tool like IDEA can update the references too. So even if we're pointing to external resources, everything is compile time checked.

Version:
$Revision: 1.16 $

Author:
Ara Abrahamian (ara_e_w@yahoo.com)

created
May 30, 2002

Field Summary

static String
AMBIGUOUS_SUBTASK_DEFINITION
static String
ATTRIBUTE_NOT_PRESENT_ERROR
static String
ATTRIBUTE_NOT_SUPPORTED
static String
BAD_GETTEXT_DOC_TYPE
static String
BAD_PRGELEMDOC_TYPE
static String
BAD_TAGVALUE_TYPE
static String
CHECK_CLASS_FAILED
static String
CLASS_CAST_EXCEPTION
static String
CLASS_NOT_FOUND
static String
CLASS_NOT_FOUND_EXCEPTION
static String
CLASS_TAG_EXPECTED
static String
CLASS_TAG_PARAMETER_EXPECTED
static String
CONTEXT_READ_ERROR
static String
CONTEXT_WRITE_ERROR
static String
COULDNT_CONF_XML_PARSER
static String
COULDNT_FIND_BEAN
static String
COULDNT_FIND_DTD
static String
COULDNT_INIT_XML_PARSER
static String
COULDNT_INSTANTIATE_SUBTASK
static String
COULDNT_LOAD_DTD
static String
COULDNT_LOAD_LOCAL_DTD
static String
COULDNT_LOAD_XML_FILE
static String
CREATE_TASK_ERROR
static String
DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND
static String
DO_NOT_EDIT
static String
DUPLICATED_TAG
static String
GENERATED_BY_XDOCLET
static String
GENERATING_SOMETHING
static String
GENERATING_TEMPLATE_OUTPUT_PER_CLASS
static String
GENERATING_TEMPLATE_OUTPUT_SINGLE_FILE
static String
ILLEGAL_ACCESS_EXCEPTION
static String
INCORRECT_CLASSPATH
static String
INIT_TEMPLATE_ENGINE_FAILED
static String
INSTANTIATION_EXCEPTION
static String
INVALID_TAG_PARAM_VALUE_CLASS
static String
INVALID_TAG_PARAM_VALUE_CONSTRUCTOR
static String
INVALID_TAG_PARAM_VALUE_FIELD
static String
INVALID_TAG_PARAM_VALUE_METHOD
static String
JAVADOC_COULDNT_LOAD_CLASS
static String
MANDATORY_TAG_PARAM_MISSING_CLASS
static String
MANDATORY_TAG_PARAM_MISSING_CONSTRUCTOR
static String
MANDATORY_TAG_PARAM_MISSING_FIELD
static String
MANDATORY_TAG_PARAM_MISSING_METHOD
static String
MANDATORY_TAG_PARAM_MISSING_TEMPLATE
static String
METHOD_FAILED
static String
METHOD_NOT_FOUND
static String
NO_DESCRIPTION
static String
NO_FILESETS
static String
NO_XML_TAGS_ALLOWED
static String
OBSOLETE_TASK_ATTRIBUTE
static String
PARAMETER_MISSING_OR_EMPTY
static String
RUNNING_FAILED
static String
RUNNING_TASKNAME
static String
TAGVALUE_NULL
static String
TAG_MALFORMED_VALUE
static String
TAG_MISSING_EQUALS
static String
TAG_MUST_ESCAPE_QUOTES
static String
TAG_MUST_INCLUDE_A_PROPERTY
static String
TAG_NO_CLOSING_QUOTE
static String
TAG_QUOTE_EXPECTED
static String
TEMPLATE_TAGNAME_IS_NULL
static String
XDOCLET_FAILED

Field Details

AMBIGUOUS_SUBTASK_DEFINITION

public static final String AMBIGUOUS_SUBTASK_DEFINITION

msg.bundle
msg = "Ambiguous subtask definition for logical name {0}: {1} and {2}"


ATTRIBUTE_NOT_PRESENT_ERROR

public static final String ATTRIBUTE_NOT_PRESENT_ERROR

msg.bundle
msg = "{0} attribute must be present."


ATTRIBUTE_NOT_SUPPORTED

public static final String ATTRIBUTE_NOT_SUPPORTED

msg.bundle
msg = "The {0} task doesn''t support the {1} attribute."


BAD_GETTEXT_DOC_TYPE

public static final String BAD_GETTEXT_DOC_TYPE

msg.bundle
msg = "doc argument passed to TemplateDoclet.getText is not of type ClassDoc or MethodDoc or ConstructorDoc or FieldDoc. doc={0}"


BAD_PRGELEMDOC_TYPE

public static final String BAD_PRGELEMDOC_TYPE

msg.bundle
msg = "What''s going on here?!?!? prg_elem_doc={0}"


BAD_TAGVALUE_TYPE

public static final String BAD_TAGVALUE_TYPE

msg.bundle
msg = "Bad type. Should have been one of FOR_CLASS, FOR_METHOD, FOR_CONSTRUCTOR or FOR_FIELD."


CHECK_CLASS_FAILED

public static final String CHECK_CLASS_FAILED

msg.bundle
msg = "Make sure the jar file containing the {0} class is on the classpath specified in the that defined {1}. These classes are needed in order to generate correct output."


CLASS_CAST_EXCEPTION

public static final String CLASS_CAST_EXCEPTION

msg.bundle
msg = "Couldn''t cast class {0} to {1}"


CLASS_NOT_FOUND

public static final String CLASS_NOT_FOUND

msg.bundle
msg = "Class ''{0}'' not found. Make sure it''s added to XDoclet''s classpath."


CLASS_NOT_FOUND_EXCEPTION

public static final String CLASS_NOT_FOUND_EXCEPTION

msg.bundle
msg = "Couldn''t find class {0}: {1}"


CLASS_TAG_EXPECTED

public static final String CLASS_TAG_EXPECTED

msg.bundle
msg = "{0} class tag expected in class {1} but not found."


CLASS_TAG_PARAMETER_EXPECTED

public static final String CLASS_TAG_PARAMETER_EXPECTED

msg.bundle
msg = "''{0}'' parameter of {1} class tag expected in class {2} but not found."


CONTEXT_READ_ERROR

public static final String CONTEXT_READ_ERROR

msg.bundle
msg = "Running XDoclet failed. An IO error occured while reading context data."


CONTEXT_WRITE_ERROR

public static final String CONTEXT_WRITE_ERROR

msg.bundle
msg = "Running {0} task failed. An IO error occured while writing context data."


COULDNT_CONF_XML_PARSER

public static final String COULDNT_CONF_XML_PARSER

msg.bundle
msg = "Couldn''t configure XML parser."


COULDNT_FIND_BEAN

public static final String COULDNT_FIND_BEAN

msg.bundle
msg = "Couldn''t find bean {0} in sourcepath {1}."


COULDNT_FIND_DTD

public static final String COULDNT_FIND_DTD

msg.bundle
msg = "WARNING: Couldn''t find DTD in xdoclet.jar: {0}. You should set validatexml=\"false\"."


COULDNT_INIT_XML_PARSER

public static final String COULDNT_INIT_XML_PARSER

msg.bundle
msg = "Couldn''t initialize XML parser."


COULDNT_INSTANTIATE_SUBTASK

public static final String COULDNT_INSTANTIATE_SUBTASK

msg.bundle
msg = "Could not instantiate SubTask class ''{0}''. Ignored. Make sure it''s in doclet''s classpath."


COULDNT_LOAD_DTD

public static final String COULDNT_LOAD_DTD

msg.bundle
msg = "Couldn''t load DTD."


COULDNT_LOAD_LOCAL_DTD

public static final String COULDNT_LOAD_LOCAL_DTD

msg.bundle
msg = "WARNING: couldn''t load local DTD for publicId={0}."


COULDNT_LOAD_XML_FILE

public static final String COULDNT_LOAD_XML_FILE

msg.bundle
msg = "Couldn''t load XML file."


CREATE_TASK_ERROR

public static final String CREATE_TASK_ERROR

msg.bundle
msg = "Can''t create a {0} element under {1}. Make sure the jar file containing the corresponding subtask class is on the classpath specified in the that defined {2}."


DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND

public static final String DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND

msg.bundle
msg = "Couldn''t find the class {0} on the classpath: {1}"


DO_NOT_EDIT

public static final String DO_NOT_EDIT

msg.bundle
msg = "Generated file - Do not edit!"


DUPLICATED_TAG

public static final String DUPLICATED_TAG

msg.bundle
msg = "Duplicated tag {0} {1}=''{2}'' encountered. IGNORED."


GENERATED_BY_XDOCLET

public static final String GENERATED_BY_XDOCLET

msg.bundle
msg = "Generated by XDoclet"


GENERATING_SOMETHING

public static final String GENERATING_SOMETHING

msg.bundle
msg = "Generating {0}."


GENERATING_TEMPLATE_OUTPUT_PER_CLASS

public static final String GENERATING_TEMPLATE_OUTPUT_PER_CLASS

msg.bundle
msg = "Generating output for ''{0}'' using template file ''{1}''."


GENERATING_TEMPLATE_OUTPUT_SINGLE_FILE

public static final String GENERATING_TEMPLATE_OUTPUT_SINGLE_FILE

msg.bundle
msg = "Generating output ''{0}'' using template file ''{1}''."


ILLEGAL_ACCESS_EXCEPTION

public static final String ILLEGAL_ACCESS_EXCEPTION

msg.bundle
msg = "Couldn''t invoke constructor for class {0}: {1}"


INCORRECT_CLASSPATH

public static final String INCORRECT_CLASSPATH

msg.bundle
msg = "Running XDoclet failed. A needed class was not found. Configure classpath of XDoclet task properly."


INIT_TEMPLATE_ENGINE_FAILED

public static final String INIT_TEMPLATE_ENGINE_FAILED

msg.bundle
msg = "Initializing template engine failed."


INSTANTIATION_EXCEPTION

public static final String INSTANTIATION_EXCEPTION

msg.bundle
msg = "Couldn''t instantiate class {0}: {1}"


INVALID_TAG_PARAM_VALUE_CLASS

public static final String INVALID_TAG_PARAM_VALUE_CLASS

msg.bundle
msg = "The value ''{0}'' specified for parameter ''{1}'' of {2} tag in {3} class is not valid. Valid values for this tag are: '{'{4}}."


INVALID_TAG_PARAM_VALUE_CONSTRUCTOR

public static final String INVALID_TAG_PARAM_VALUE_CONSTRUCTOR

msg.bundle
msg = "The value ''{0}'' specified for parameter ''{1}'' of {2} tag in constructor of {3} class is not valid. Valid values for this tag are: '{'{4}}."


INVALID_TAG_PARAM_VALUE_FIELD

public static final String INVALID_TAG_PARAM_VALUE_FIELD

msg.bundle
msg = "The value ''{0}'' specified for parameter ''{1}'' of {2} tag in {3} field of {4} class is not valid. Valid values for this tag are: '{'{5}}."


INVALID_TAG_PARAM_VALUE_METHOD

public static final String INVALID_TAG_PARAM_VALUE_METHOD

msg.bundle
msg = "The value ''{0}'' specified for parameter ''{1}'' of {2} tag in {3} method of {4} class is not valid. Valid values for this tag are: '{'{5}}."


JAVADOC_COULDNT_LOAD_CLASS

public static final String JAVADOC_COULDNT_LOAD_CLASS

msg.bundle
msg = "Javadoc couldn''t load class {0}, add it to the sourcepath please."


MANDATORY_TAG_PARAM_MISSING_CLASS

public static final String MANDATORY_TAG_PARAM_MISSING_CLASS

msg.bundle
msg = "Mandatory parameter ''{0}'' missing for {1} tag in {2} class."


MANDATORY_TAG_PARAM_MISSING_CONSTRUCTOR

public static final String MANDATORY_TAG_PARAM_MISSING_CONSTRUCTOR

msg.bundle
msg = "Mandatory parameter ''{0}'' missing for {1} tag in constructor of {2} class."


MANDATORY_TAG_PARAM_MISSING_FIELD

public static final String MANDATORY_TAG_PARAM_MISSING_FIELD

msg.bundle
msg = "Mandatory parameter ''{0}'' missing for {1} tag in {2} field of {3} class."


MANDATORY_TAG_PARAM_MISSING_METHOD

public static final String MANDATORY_TAG_PARAM_MISSING_METHOD

msg.bundle
msg = "Mandatory parameter ''{0}'' missing for {1} tag in {2} method of {3} class."


MANDATORY_TAG_PARAM_MISSING_TEMPLATE

public static final String MANDATORY_TAG_PARAM_MISSING_TEMPLATE

msg.bundle
msg = "Mandatory parameter ''{0}'' missing for template tag ''{1}''."


METHOD_FAILED

public static final String METHOD_FAILED

msg.bundle
msg = "{0} failed."


METHOD_NOT_FOUND

public static final String METHOD_NOT_FOUND

msg.bundle
msg = "Method {0} not found."


NO_DESCRIPTION

public static final String NO_DESCRIPTION

msg.bundle
msg = "No Description."


NO_FILESETS

public static final String NO_FILESETS

msg.bundle
msg = "You must specify at least one fileset to indicate which files are to be processed."


NO_XML_TAGS_ALLOWED

public static final String NO_XML_TAGS_ALLOWED

msg.bundle
msg = "Not an XmlSubTask, so can''t use Xml namespace template tags."


OBSOLETE_TASK_ATTRIBUTE

public static final String OBSOLETE_TASK_ATTRIBUTE

msg.bundle
msg = "{0} attribute is now obsolete. Please use a nested element."


PARAMETER_MISSING_OR_EMPTY

public static final String PARAMETER_MISSING_OR_EMPTY

msg.bundle
msg = "''{0}'' parameter missing or empty."


RUNNING_FAILED

public static final String RUNNING_FAILED

msg.bundle
msg = "Running XDoclet failed."


RUNNING_TASKNAME

public static final String RUNNING_TASKNAME

msg.bundle
msg = "Running {0}"


TAGVALUE_NULL

public static final String TAGVALUE_NULL

msg.bundle
msg = "Cannot have null program element when extracting tag value."


TAG_MALFORMED_VALUE

public static final String TAG_MALFORMED_VALUE

msg.bundle
msg = "Error in tag: parameters should be in paramName=\"paramValue\" format, class={0}, tag={1}."


TAG_MISSING_EQUALS

public static final String TAG_MISSING_EQUALS

msg.bundle
msg = "Error in tag: = sign expected after parameter name, class={0}, tag={1}."


TAG_MUST_ESCAPE_QUOTES

public static final String TAG_MUST_ESCAPE_QUOTES

msg.bundle
msg = "Error in tag: to put \" inaparameter valueyouneed toescape\" character with \\, class={0}, tag={1}."


TAG_MUST_INCLUDE_A_PROPERTY

public static final String TAG_MUST_INCLUDE_A_PROPERTY

msg.bundle
msg = "{0} tag must include a {1} property."


TAG_NO_CLOSING_QUOTE

public static final String TAG_NO_CLOSING_QUOTE

msg.bundle
msg = "Error in tag: trailing \" signexpectedbut notfound,class = {0}, tag = {1}."


TAG_QUOTE_EXPECTED

public static final String TAG_QUOTE_EXPECTED

msg.bundle
msg = "Error in tag: \" signexpectedbut somethingdifferentfound, class = {0}, tag = {1}."


TEMPLATE_TAGNAME_IS_NULL

public static final String TEMPLATE_TAGNAME_IS_NULL

msg.bundle
msg = "tagName mandatory parameter in template file is null."


XDOCLET_FAILED

public static final String XDOCLET_FAILED

msg.bundle
msg = "XDoclet failed."