Class XmlDtdResource

java.lang.Object
org.ctan.site.resources.catalogue.api.XmlDtdResource

@Path("/") @Produces("application/xml") public class XmlDtdResource extends Object
The class XmlDtdResource contains the controller for the DTD resource.
  • Constructor Details

    • XmlDtdResource

      public XmlDtdResource()
  • Method Details

    • getDtd

      @GET @Path("/xml/{vers}/catalogue.dtd") @PermitAll public String getDtd(@PathParam("vers") String vers)
      The method getVersion provides means to retrieve the version number of the API in use.
      Parameters:
      vers - the version
      Returns:
      the DTD