protected void addCurrentElementToCollection(HierarchicalStreamReader reader, UnmarshallingContext context, Collection collection, Collection target) { final Object item = readItem(reader, context, collection); // call readBareItem when deprecated method is removed target.add(item); }
protected void addCurrentElementToCollection(HierarchicalStreamReader reader, UnmarshallingContext context, Collection collection, Collection target) { final Object item = readItem(reader, context, collection); // call readBareItem when deprecated method is removed target.add(item); }
protected void addCurrentElementToCollection(final HierarchicalStreamReader reader, final UnmarshallingContext context, final Collection<?> collection, final Collection<?> target) { @SuppressWarnings("deprecation") final Object item = readItem(reader, context, collection); // call readBareItem when deprecated method is removed @SuppressWarnings("unchecked") final Collection<Object> targetCollection = (Collection<Object>)target; targetCollection.add(item); }
protected void addCurrentElementToCollection(HierarchicalStreamReader reader, UnmarshallingContext context, Collection collection, Collection target) { final Object item = readItem(reader, context, collection); // call readBareItem when deprecated method is removed target.add(item); }
protected void addCurrentElementToCollection(HierarchicalStreamReader reader, UnmarshallingContext context, Collection collection, Collection target) { Object item = readItem(reader, context, collection); target.add(item); } }
protected void addCurrentElementToCollection(HierarchicalStreamReader reader, UnmarshallingContext context, Collection collection, Collection target) { Object item = readItem(reader, context, collection); target.add(item); }
protected void addCurrentElementToCollection(HierarchicalStreamReader reader, UnmarshallingContext context, Collection collection, Collection target) { final Object item = readItem(reader, context, collection); // call readBareItem when deprecated method is removed target.add(item); }
protected void populateCollection(HierarchicalStreamReader reader, UnmarshallingContext context, Collection collection) { while (reader.hasMoreChildren()) { reader.moveDown(); Object item = readItem(reader, context, collection); collection.add(item); reader.moveUp(); } }
protected void populateCollection(HierarchicalStreamReader reader, UnmarshallingContext context, Collection collection) { while (reader.hasMoreChildren()) { reader.moveDown(); Object item = readItem(reader, context, collection); collection.add(item); reader.moveUp(); } }