alwayswill / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Add XPath or similar support to @Key #225

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not sure how feasible this is, but instead of supporting only this type of 
mapping:

@Key(atom:link)
public List<Link> links;

I would like to see syntax that would allow for something like this:

@Key(atom:link[@rel='next])
public Link nextLink;

Or, even better something like this:

@Key(atom:link[@rel='next']/@value)
public String nextLinkValue;

Original issue reported on code.google.com by szieg...@cloudsherpas.com on 4 Jun 2011 at 2:58

GoogleCodeExporter commented 9 years ago
Ported to:
http://code.google.com/p/google-http-java-client/issues/detail?id=11

Original comment by yan...@google.com on 4 Jun 2011 at 4:09