Removed duplicate code and adjusted captions #249
@@ -11,6 +11,7 @@ import spark.Request;
|
|||||||
import spark.Response;
|
import spark.Response;
|
||||||
|
|
||||||
@GlobalControllerManifest
|
@GlobalControllerManifest
|
||||||
|
@Deprecated
|
||||||
public class XPathController implements RestController {
|
public class XPathController implements RestController {
|
||||||
|
|
||||||
private final Gson gson;
|
private final Gson gson;
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import spark.Response;
|
|||||||
* @author Adam Bem
|
* @author Adam Bem
|
||||||
*/
|
*/
|
||||||
@GlobalControllerManifest
|
@GlobalControllerManifest
|
||||||
|
@Deprecated
|
||||||
public class XQueryController implements RestController {
|
public class XQueryController implements RestController {
|
||||||
|
|
||||||
private final Gson gson;
|
private final Gson gson;
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ import org.apache.logging.log4j.Logger;
|
|||||||
import spark.Request;
|
import spark.Request;
|
||||||
import spark.Response;
|
import spark.Response;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Controller used to handle XML tools: XPath, XSD validation, XQuery and XSLT
|
||||||
|
* @author Adam Bem
|
||||||
|
*/
|
||||||
public class XmlController {
|
public class XmlController {
|
||||||
|
|
||||||
private final Gson gson;
|
private final Gson gson;
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import spark.Request;
|
|||||||
import spark.Response;
|
import spark.Response;
|
||||||
|
|
||||||
@GlobalControllerManifest
|
@GlobalControllerManifest
|
||||||
|
@Deprecated
|
||||||
public class XsdController implements RestController {
|
public class XsdController implements RestController {
|
||||||
|
|
||||||
private final Gson gson;
|
private final Gson gson;
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import spark.Request;
|
|||||||
import spark.Response;
|
import spark.Response;
|
||||||
|
|
||||||
@GlobalControllerManifest
|
@GlobalControllerManifest
|
||||||
|
@Deprecated
|
||||||
public class XsltController implements RestController {
|
public class XsltController implements RestController {
|
||||||
|
|
||||||
private final Gson gson;
|
private final Gson gson;
|
||||||
|
|||||||
Reference in New Issue
Block a user