diff options
Diffstat (limited to 'support/texplate/source/main/java/org/islandoftex/texplate/model/handlers/Handler.java')
-rw-r--r-- | support/texplate/source/main/java/org/islandoftex/texplate/model/handlers/Handler.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/support/texplate/source/main/java/org/islandoftex/texplate/model/handlers/Handler.java b/support/texplate/source/main/java/org/islandoftex/texplate/model/handlers/Handler.java new file mode 100644 index 0000000000..721224a978 --- /dev/null +++ b/support/texplate/source/main/java/org/islandoftex/texplate/model/handlers/Handler.java @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: BSD-3-Clause +package org.islandoftex.texplate.model.handlers; + +/** + * Interface for handlers. + * + * @version 1.0 + * @since 1.0 + */ +public interface Handler { + + /** + * Apply the handler in the string. + * + * @param string The string. + * @return The resulting object. + */ + Object apply(String string); + +} |