jdk/src/share/classes/javax/imageio/metadata/IIOMetadataFormatImpl.java
changeset 21278 ef8a3a2a72f2
parent 19168 ff364494f2b8
child 22584 eed64ee05369
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   232      *
   232      *
   233      * <p> Prior to the first time this method is called, the base
   233      * <p> Prior to the first time this method is called, the base
   234      * name will be equal to <code>this.getClass().getName() +
   234      * name will be equal to <code>this.getClass().getName() +
   235      * "Resources"</code>.
   235      * "Resources"</code>.
   236      *
   236      *
   237      * @param resourceBaseName a <code>String</code> containg the new
   237      * @param resourceBaseName a <code>String</code> containing the new
   238      * base name.
   238      * base name.
   239      *
   239      *
   240      * @exception IllegalArgumentException if
   240      * @exception IllegalArgumentException if
   241      * <code>resourceBaseName</code> is <code>null</code>.
   241      * <code>resourceBaseName</code> is <code>null</code>.
   242      *
   242      *
   379      * Adds an existing element to the list of legal children for a
   379      * Adds an existing element to the list of legal children for a
   380      * given parent node type.
   380      * given parent node type.
   381      *
   381      *
   382      * @param parentName the name of the element that will be the
   382      * @param parentName the name of the element that will be the
   383      * new parent of the element.
   383      * new parent of the element.
   384      * @param elementName the name of the element to be addded as a
   384      * @param elementName the name of the element to be added as a
   385      * child.
   385      * child.
   386      *
   386      *
   387      * @exception IllegalArgumentException if <code>elementName</code>
   387      * @exception IllegalArgumentException if <code>elementName</code>
   388      * is <code>null</code>, or is not a legal element name for this
   388      * is <code>null</code>, or is not a legal element name for this
   389      * format.
   389      * format.
   989         }
   989         }
   990     }
   990     }
   991 
   991 
   992     /**
   992     /**
   993      * Returns a <code>String</code> containing a description of the
   993      * Returns a <code>String</code> containing a description of the
   994      * named element, or <code>null</code>.  The desciption will be
   994      * named element, or <code>null</code>.  The description will be
   995      * localized for the supplied <code>Locale</code> if possible.
   995      * localized for the supplied <code>Locale</code> if possible.
   996      *
   996      *
   997      * <p> The default implementation will first locate a
   997      * <p> The default implementation will first locate a
   998      * <code>ResourceBundle</code> using the current resource base
   998      * <code>ResourceBundle</code> using the current resource base
   999      * name set by <code>setResourceBaseName</code> and the supplied
   999      * name set by <code>setResourceBaseName</code> and the supplied
  1127         return attr.listMaxLength;
  1127         return attr.listMaxLength;
  1128     }
  1128     }
  1129 
  1129 
  1130     /**
  1130     /**
  1131      * Returns a <code>String</code> containing a description of the
  1131      * Returns a <code>String</code> containing a description of the
  1132      * named attribute, or <code>null</code>.  The desciption will be
  1132      * named attribute, or <code>null</code>.  The description will be
  1133      * localized for the supplied <code>Locale</code> if possible.
  1133      * localized for the supplied <code>Locale</code> if possible.
  1134      *
  1134      *
  1135      * <p> The default implementation will first locate a
  1135      * <p> The default implementation will first locate a
  1136      * <code>ResourceBundle</code> using the current resource base
  1136      * <code>ResourceBundle</code> using the current resource base
  1137      * name set by <code>setResourceBaseName</code> and the supplied
  1137      * name set by <code>setResourceBaseName</code> and the supplied