Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## xdoclet
Class XDocletMessages

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

Constructor Summary
`XDocletMessages()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### PARAMETER_MISSING_OR_EMPTY

    public static final java.lang.String PARAMETER_MISSING_OR_EMPTY

See Also:
  Constant Field Values
msg.bundle
  msg="''{0}'' parameter missing or empty."

### CONTEXT_WRITE_ERROR

    public static final java.lang.String CONTEXT_WRITE_ERROR

See Also:
  Constant Field Values
msg.bundle
  msg="Running {0} task failed. An IO error occured while writing context data."

### CONTEXT_READ_ERROR

    public static final java.lang.String CONTEXT_READ_ERROR

See Also:
  Constant Field Values
msg.bundle
  msg="Running XDoclet failed. An IO error occured while reading context data."

### ATTRIBUTE_NOT_PRESENT_ERROR

    public static final java.lang.String ATTRIBUTE_NOT_PRESENT_ERROR

See Also:
  Constant Field Values
msg.bundle
  msg="{0} attribute must be present."

### NO_FILESETS

    public static final java.lang.String NO_FILESETS

See Also:
  Constant Field Values
msg.bundle
  msg="You must specify at least one fileset to indicate which files are to be processed."

### RUNNING_TASKNAME

    public static final java.lang.String RUNNING_TASKNAME

See Also:
  Constant Field Values
msg.bundle
  msg="Running {0}"

### RUNNING_FAILED

    public static final java.lang.String RUNNING_FAILED

See Also:
  Constant Field Values
msg.bundle
  msg="Running XDoclet failed."

### INCORRECT_CLASSPATH

    public static final java.lang.String INCORRECT_CLASSPATH

See Also:
  Constant Field Values
msg.bundle
  msg="Running XDoclet failed. A needed class was not found. Configure classpath of XDoclet task properly."

### COULDNT_INSTANTIATE_SUBTASK

    public static final java.lang.String COULDNT_INSTANTIATE_SUBTASK

See Also:
  Constant Field Values
msg.bundle
  msg="Could not instantiate SubTask class ''{0}''. Ignored. Make sure it''s in doclet''s classpath."

### INIT_TEMPLATE_ENGINE_FAILED

    public static final java.lang.String INIT_TEMPLATE_ENGINE_FAILED

See Also:
  Constant Field Values
msg.bundle
  msg="Initializing template engine failed."

### MANDATORY_TAG_PARAM_MISSING_FIELD

    public static final java.lang.String MANDATORY_TAG_PARAM_MISSING_FIELD

See Also:
  Constant Field Values
msg.bundle
  msg="Mandatory parameter ''{0}'' missing for {1} tag in {2} field of {3} class."

### MANDATORY_TAG_PARAM_MISSING_CONSTRUCTOR

    public static final java.lang.String MANDATORY_TAG_PARAM_MISSING_CONSTRUCTOR

See Also:
  Constant Field Values
msg.bundle
  msg="Mandatory parameter ''{0}'' missing for {1} tag in constructor of {2} class."

### MANDATORY_TAG_PARAM_MISSING_CLASS

    public static final java.lang.String MANDATORY_TAG_PARAM_MISSING_CLASS

See Also:
  Constant Field Values
msg.bundle
  msg="Mandatory parameter ''{0}'' missing for {1} tag in {2} class."

### MANDATORY_TAG_PARAM_MISSING_METHOD

    public static final java.lang.String MANDATORY_TAG_PARAM_MISSING_METHOD

See Also:
  Constant Field Values
msg.bundle
  msg="Mandatory parameter ''{0}'' missing for {1} tag in {2} method of {3} class."

### GENERATED_BY_XDOCLET

    public static final java.lang.String GENERATED_BY_XDOCLET

See Also:
  Constant Field Values
msg.bundle
  msg="Generated by XDoclet"

### DO_NOT_EDIT

    public static final java.lang.String DO_NOT_EDIT

See Also:
  Constant Field Values
msg.bundle
  msg="Generated file - Do not edit!"

### NO_DESCRIPTION

    public static final java.lang.String NO_DESCRIPTION

See Also:
  Constant Field Values
msg.bundle
  msg="No Description."

### JAVADOC_COULDNT_LOAD_CLASS

    public static final java.lang.String JAVADOC_COULDNT_LOAD_CLASS

See Also:
  Constant Field Values
msg.bundle
  msg="Javadoc couldn''t load class {0}, add it to the sourcepath please."

### METHOD_FAILED

    public static final java.lang.String METHOD_FAILED

See Also:
  Constant Field Values
msg.bundle
  msg="{0} failed."

### CLASS_NOT_FOUND

    public static final java.lang.String CLASS_NOT_FOUND

See Also:
  Constant Field Values
msg.bundle
  msg="Class ''{0}'' not found. Make sure it''s added to XDoclet''s classpath."

### NO_XML_TAGS_ALLOWED

    public static final java.lang.String NO_XML_TAGS_ALLOWED

See Also:
  Constant Field Values
msg.bundle
  msg="Not an XmlSubTask, so can''t use Xml namespace template tags."

### BAD_GETTEXT_DOC_TYPE

    public static final java.lang.String BAD_GETTEXT_DOC_TYPE

See Also:
  Constant Field Values
msg.bundle
  msg="doc argument passed to TemplateDoclet.getText is not of type ClassDoc or MethodDoc or ConstructorDoc or FieldDoc. doc={0}"

### COULDNT_CONF_XML_PARSER

    public static final java.lang.String COULDNT_CONF_XML_PARSER

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t configure XML parser."

### COULDNT_LOAD_DTD

    public static final java.lang.String COULDNT_LOAD_DTD

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t load DTD."

### COULDNT_LOAD_XML_FILE

    public static final java.lang.String COULDNT_LOAD_XML_FILE

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t load XML file."

### COULDNT_INIT_XML_PARSER

    public static final java.lang.String COULDNT_INIT_XML_PARSER

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t initialize XML parser."

### COULDNT_LOAD_LOCAL_DTD

    public static final java.lang.String COULDNT_LOAD_LOCAL_DTD

See Also:
  Constant Field Values
msg.bundle
  msg="WARNING: couldn''t load local DTD for publicId={0}."

### COULDNT_FIND_DTD

    public static final java.lang.String COULDNT_FIND_DTD

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

### CLASS_TAG_PARAMETER_EXPECTED

    public static final java.lang.String CLASS_TAG_PARAMETER_EXPECTED

See Also:
  Constant Field Values
msg.bundle
  msg="''{0}'' parameter of {1} class tag expected in class {2} but not found."

### CLASS_TAG_EXPECTED

    public static final java.lang.String CLASS_TAG_EXPECTED

See Also:
  Constant Field Values
msg.bundle
  msg="{0} class tag expected in class {1} but not found."

### INVALID_TAG_PARAM_VALUE_FIELD

    public static final java.lang.String INVALID_TAG_PARAM_VALUE_FIELD

See Also:
  Constant Field Values
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_CONSTRUCTOR

    public static final java.lang.String INVALID_TAG_PARAM_VALUE_CONSTRUCTOR

See Also:
  Constant Field Values
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_CLASS

    public static final java.lang.String INVALID_TAG_PARAM_VALUE_CLASS

See Also:
  Constant Field Values
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_METHOD

    public static final java.lang.String INVALID_TAG_PARAM_VALUE_METHOD

See Also:
  Constant Field Values
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}}."

### BAD_PRGELEMDOC_TYPE

    public static final java.lang.String BAD_PRGELEMDOC_TYPE

See Also:
  Constant Field Values
msg.bundle
  msg="What''s going on here?!?!? prg_elem_doc={0}"

### GENERATING_TEMPLATE_OUTPUT_PER_CLASS

    public static final java.lang.String GENERATING_TEMPLATE_OUTPUT_PER_CLASS

See Also:
  Constant Field Values
msg.bundle
  msg="Generating output for ''{0}'' using template file ''{1}''."

### GENERATING_TEMPLATE_OUTPUT_SINGLE_FILE

    public static final java.lang.String GENERATING_TEMPLATE_OUTPUT_SINGLE_FILE

See Also:
  Constant Field Values
msg.bundle
  msg="Generating output ''{0}'' using template file ''{1}''."

### COULDNT_FIND_BEAN

    public static final java.lang.String COULDNT_FIND_BEAN

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t find bean {0} in sourcepath {1}."

### TAG_MISSING_EQUALS

    public static final java.lang.String TAG_MISSING_EQUALS

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

### TAG_MALFORMED_VALUE

    public static final java.lang.String TAG_MALFORMED_VALUE

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

### TAG_QUOTE_EXPECTED

    public static final java.lang.String TAG_QUOTE_EXPECTED

See Also:
  Constant Field Values
msg.bundle
  msg="Error in tag: \" sign expected but something different found, class={0}, tag={1}."

### TAG_MUST_ESCAPE_QUOTES

    public static final java.lang.String TAG_MUST_ESCAPE_QUOTES

See Also:
  Constant Field Values
msg.bundle
  msg="Error in tag: to put \" in a parameter value you need to escape \" character with \\, class={0}, tag={1}."

### TAG_NO_CLOSING_QUOTE

    public static final java.lang.String TAG_NO_CLOSING_QUOTE

See Also:
  Constant Field Values
msg.bundle
  msg="Error in tag: trailing \" sign expected but not found, class={0}, tag={1}."

### TEMPLATE_TAGNAME_IS_NULL

    public static final java.lang.String TEMPLATE_TAGNAME_IS_NULL

See Also:
  Constant Field Values
msg.bundle
  msg="tagName mandatory parameter in template file is null."

### BAD_TAGVALUE_TYPE

    public static final java.lang.String BAD_TAGVALUE_TYPE

See Also:
  Constant Field Values
msg.bundle
  msg="Bad type. Should have been one of FOR_CLASS, FOR_METHOD, FOR_CONSTRUCTOR or FOR_FIELD."

### TAGVALUE_NULL

    public static final java.lang.String TAGVALUE_NULL

See Also:
  Constant Field Values
msg.bundle
  msg="Cannot have null program element when extracting tag value."

### MANDATORY_TAG_PARAM_MISSING_TEMPLATE

    public static final java.lang.String MANDATORY_TAG_PARAM_MISSING_TEMPLATE

See Also:
  Constant Field Values
msg.bundle
  msg="Mandatory parameter ''{0}'' missing for template tag ''{1}''."

### GENERATING_SOMETHING

    public static final java.lang.String GENERATING_SOMETHING

See Also:
  Constant Field Values
msg.bundle
  msg="Generating {0}."

### METHOD_NOT_FOUND

    public static final java.lang.String METHOD_NOT_FOUND

See Also:
  Constant Field Values
msg.bundle
  msg="Method {0} not found."

### TAG_MUST_INCLUDE_A_PROPERTY

    public static final java.lang.String TAG_MUST_INCLUDE_A_PROPERTY

See Also:
  Constant Field Values
msg.bundle
  msg="{0} tag must include a {1} property."

### DUPLICATED_TAG

    public static final java.lang.String DUPLICATED_TAG

See Also:
  Constant Field Values
msg.bundle
  msg="Duplicated tag {0} {1}=''{2}'' encountered. IGNORED."

### ATTRIBUTE_NOT_SUPPORTED

    public static final java.lang.String ATTRIBUTE_NOT_SUPPORTED

See Also:
  Constant Field Values
msg.bundle
  msg="The {0} task doesn''t support the {1} attribute."

### OBSOLETE_TASK_ATTRIBUTE

    public static final java.lang.String OBSOLETE_TASK_ATTRIBUTE

See Also:
  Constant Field Values
msg.bundle
  msg="{0} attribute is now obsolete. Please use a nested element."

### CREATE_TASK_ERROR

    public static final java.lang.String CREATE_TASK_ERROR

See Also:
  Constant Field Values
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}."

### CLASS_NOT_FOUND_EXCEPTION

    public static final java.lang.String CLASS_NOT_FOUND_EXCEPTION

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t find class {0}: {1}"

### INSTANTIATION_EXCEPTION

    public static final java.lang.String INSTANTIATION_EXCEPTION

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t instantiate class {0}: {1}"

### ILLEGAL_ACCESS_EXCEPTION

    public static final java.lang.String ILLEGAL_ACCESS_EXCEPTION

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t invoke constructor for class {0}: {1}"

### XDOCLET_FAILED

    public static final java.lang.String XDOCLET_FAILED

See Also:
  Constant Field Values
msg.bundle
  msg="XDoclet failed."

### CHECK_CLASS_FAILED

    public static final java.lang.String CHECK_CLASS_FAILED

See Also:
  Constant Field Values
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."

### AMBIGUOUS_SUBTASK_DEFINITION

    public static final java.lang.String AMBIGUOUS_SUBTASK_DEFINITION

See Also:
  Constant Field Values
msg.bundle
  msg="Ambiguous subtask definition for logical name {0}: {1} and {2}"

### DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND

    public static final java.lang.String DEPENDENT_CLASS_FOR_SUBTASK_NOT_FOUND

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t find the class {0} on the classpath: {1}"

### CLASS_CAST_EXCEPTION

    public static final java.lang.String CLASS_CAST_EXCEPTION

See Also:
  Constant Field Values
msg.bundle
  msg="Couldn''t cast class {0} to {1}"

Constructor Detail

### XDocletMessages

    public XDocletMessages()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| http://xdoclet.sourceforge.net/
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD