Lines Matching refs:descriptor
64 * descriptor is part of the ModelMBeanInfo,
68 * A descriptor consists of a collection of fields. Each field is in
103 new ObjectStreamField("descriptor", HashMap.class),
110 new ObjectStreamField("descriptor", HashMap.class)
116 * @serialField descriptor HashMap The collection of fields representing this descriptor
148 Previous versions of this class had a field called "descriptor"
161 * Default initial descriptor size is 20. It will grow as needed.<br>
162 * Note that the created empty descriptor is not a valid descriptor
176 * capacity of the Map that stores the descriptor fields.
178 * descriptor is not a valid descriptor (the method {@link
182 * stores the descriptor fields.
213 * Creates a new descriptor initialized to the values of the
214 * descriptor passed in parameter.
216 * @param inDescr the descriptor to be used to initialize the
217 * constructed descriptor. If it is null or contains no descriptor
239 * descriptor can be used to instantiate an equivalent
240 * descriptor using this constructor.</p>
251 * descriptor can be used to instantiate an equivalent
252 * descriptor when instantiated using this constructor.
287 if (!lowerInStr.startsWith("<descriptor>")
288 || !lowerInStr.endsWith("</descriptor>")) {
289 throw new XMLParseException("No <descriptor>, </descriptor> pair");
294 // create dummy descriptor: should have same size
296 // loop through structures and put them in descriptor
372 * are empty, then an empty descriptor is created.</p>
376 * If the descriptor construction fails for any reason, this
440 * be null. If the descriptor construction fails for any reason,
775 * field Names or field Values. If the descriptor construction
798 * Compares this descriptor to the given object. The objects are equal if
834 * <p>Returns the hash code value for this descriptor. The hash
836 * the descriptor. The hash code of a field with name {@code n}
906 // verify that the descriptor is valid, by iterating over each field...
910 if (returnedSet == null) { // null descriptor, not valid
918 // must have a name and descriptor type field
927 // According to the descriptor type we validate the fields contained
1057 * <p>Returns an XML String representing the descriptor.</p>
1061 * used to build an equivalent descriptor when instantiated
1073 * <p>If the descriptor is empty the following String is
1211 "Cannot make XML descriptor");
1225 * Given a descriptor XML containing <field name="nnn" value="vvv">,
1274 * descriptor</pv>. The string will be in the format of
1277 * If there are no fields in the descriptor, then an empty String
1285 * field Names or field Values. If the descriptor string fails
1349 Map<String, Object> descriptor = cast(fields.get("descriptor", null));
1351 if (descriptor != null) {
1352 descriptorMap.putAll(descriptor);
1366 met. Instead, field names in the descriptor map were forced to
1368 descriptor they deserialize and e.g. getFieldValue will not
1379 * serializable. We do this here rather than purging the "descriptor"
1389 final HashMap<String, Object> descriptor;
1392 descriptor = new HashMap<String, Object>();
1394 descriptor.put(entry.getKey().toLowerCase(), entry.getValue());
1396 descriptor = new HashMap<String, Object>(startMap);
1398 fields.put("descriptor", descriptor);