All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.domain.api.Examples Maven / Gradle / Ivy

Go to download

Contains the objects used by the Frontend API, like forms and result objects

There is a newer version: 8.4.1
Show newest version
package nl.vpro.domain.api;

/**
 * @author Michiel Meeuwissen
 * @since 5.0
 */
public class Examples {

    private Examples() {

    }

    public static final String IDLIST_JSON = "[\"AVRO_1656037\", \"NCRV_1413393\"]";
    public static final String IDLIST_XML = "\n" +
        "            \"    AVRO_1656037\\n\" +\n" +
        "            \"    NCRV_1413393\\n\" +\n" +
        "            \"";

  /*  public static final Example IDLIST = {
    @ExampleProperty(mediaType = "application/json", value = Examples.IDLIST_JSON),
    @ExampleProperty(mediaType = "application/xml", value = Examples.IDLIST_XML)
};*/

    public static final String FORM_JSON = "{\n" +
        "    \"searches\" : {\n" +
        "        \"text\" : {\n" +
        "                \"value\" : \"Argos\"\n" +
        "        }\n" +
        "    }\n" +
        "}";
    public static final String FORM_XML = "{\n" +
        "    \"searches\" : {\n" +
        "        \"text\" : {\n" +
        "                \"value\" : \"Argos\"\n" +
        "        }\n" +
        "    }\n" +
        "}";

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy