@Path("/")
@Produces("application/xml")
public class XmlDtdResource
extends Object
The class XmlDtdResource
contains the controller for the DTD
resource.
-
Constructor Summary
Constructors
-
Method Summary
The method getVersion
provides means to retrieve the version
number of the API in use.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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