feed.setBaseReference(new Reference(attr));
}
inlineFeed = feed;
this.inlineFeedHandler.startFeed(feed);
} else if (localName.equals("link")) {
Link link = new Link();
link.setHref(new Reference(attrs.getValue("", "href")));
link.setRel(Relation.valueOf(attrs.getValue("", "rel")));
String type = attrs.getValue("", "type");
if (type != null && type.length() > 0) {
link.setType(new MediaType(type));
}
link.setHrefLang(new Language(attrs
.getValue("", "hreflang")));
link.setTitle(attrs.getValue("", "title"));
String attr = attrs.getValue("", "length");
link.setLength((attr == null) ? -1L : Long.parseLong(attr));
inlineLink = link;
if (association.isToMany()) {
inlineFeedHandler.startLink(link);
} else {