|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The return type of the query.public interface Query<T extends java.io.Serializable>
Superinterface that has to be implemented by all queries.
| Method Summary | |
|---|---|
void |
addParameter(java.lang.String key,
java.lang.Object value)
Add a parameter to the query parameters. |
java.lang.String |
getMethod()
Get the last.fm method that is fetched by this query. |
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Get query parameters. |
T |
parse(org.w3c.dom.Element root)
Parse the result and return the Object model. |
| Method Detail |
|---|
java.util.Map<java.lang.String,java.lang.String> getParameters()
java.lang.String getMethod()
void addParameter(java.lang.String key,
java.lang.Object value)
key - The name of the parameter.value - The value of this parameter. This expects that the object has a reasonable
toString() method, otherwise the String has to be passed manually instead of the
object.T parse(org.w3c.dom.Element root)
root - Dom4j root element.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||