aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/templates/Template.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/templates/Template.java')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/templates/Template.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/templates/Template.java b/container-search/src/main/java/com/yahoo/prelude/templates/Template.java
deleted file mode 100644
index 761eb1db562..00000000000
--- a/container-search/src/main/java/com/yahoo/prelude/templates/Template.java
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-package com.yahoo.prelude.templates;
-
-import java.io.Writer;
-
-
-/**
- * A template turns a template string and some state into
- * an instantiated string. Add support for a particular
- * template mechanism by subclassing this.
- *
- * @author bratseth
- * @deprecated use a Renderer instead
- */
-@SuppressWarnings("deprecation")
-@Deprecated // OK (But wait for deprecated handlers in vespaclient-container-plugin to be removed)
-// TODO: Remove on Vespa 7
-public abstract class Template<T extends Writer> {
-
- /**
- * Renders this template
- *
- * @param context the context to evaluate in
- * @param writer the writer to render to
- */
- public abstract void render(Context context,T writer) throws java.io.IOException;
-
-
- /**
- * Get template name
- *
- * @return template name
- */
- public abstract String getName();
-
-}