langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties
changeset 41452 ddaef4bba083
parent 40587 1c355ea550ed
child 42816 3638773ff1b0
equal deleted inserted replaced
41451:a847c7aa25a7 41452:ddaef4bba083
   205 doclet.ConstantField=Constant Field
   205 doclet.ConstantField=Constant Field
   206 doclet.Value=Value
   206 doclet.Value=Value
   207 doclet.0_and_1={0} and {1}
   207 doclet.0_and_1={0} and {1}
   208 
   208 
   209 #Documentation for Enums
   209 #Documentation for Enums
   210 doclet.enum_values_doc.firstsentence=\
   210 doclet.enum_values_doc.fullbody=\
   211 Returns an array containing the constants of this enum type, in\n\
   211  Returns an array containing the constants of this enum type, in\n\
   212 the order they are declared.
   212  the order they are declared. This method may be used to iterate\n\
   213 doclet.enum_values_doc.body=\  This method may be used to iterate\n\
       
   214  over the constants as follows:\n\
   213  over the constants as follows:\n\
   215  <pre>\n\
   214  <pre>\n\
   216  for ({0} c : {0}.values())\n\
   215  for ({0} c : {0}.values())\n\
   217  &nbsp;   System.out.println(c);\n\
   216  &nbsp;   System.out.println(c);\n\
   218  </pre>
   217  </pre>
       
   218 
   219 doclet.enum_values_doc.return=\
   219 doclet.enum_values_doc.return=\
   220 an array containing the constants of this enum type, in the order they are declared
   220 an array containing the constants of this enum type, in the order they are declared
   221 
   221 
   222 doclet.enum_valueof_doc.firstsentence=\
   222 doclet.enum_valueof_doc.fullbody=\
   223 Returns the enum constant of this type with the specified name.
   223  Returns the enum constant of this type with the specified name.\n\
   224 doclet.enum_valueof_doc.body=\n\
   224  The string must match <i>exactly</i> an identifier used to declare an\n\
   225 The string must match <i>exactly</i> an identifier used to declare an\n\
       
   226  enum constant in this type.  (Extraneous whitespace characters are \n\
   225  enum constant in this type.  (Extraneous whitespace characters are \n\
   227  not permitted.)
   226  not permitted.)
   228 
   227 
   229 doclet.enum_valueof_doc.param_name=\
   228 doclet.enum_valueof_doc.param_name=\
   230  the name of the enum constant to be returned.
   229  the name of the enum constant to be returned.