aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java')
-rw-r--r--src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java b/src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java
deleted file mode 100644
index 62bfd73..0000000
--- a/src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.zwobble.mammoth.html;
-
-import java.util.Map;
-
-public class HtmlSelfClosingElement implements HtmlNode {
- private final String tagName;
- private final Map<String, String> attributes;
-
- public HtmlSelfClosingElement(String tagName, Map<String, String> attributes) {
- this.tagName = tagName;
- this.attributes = attributes;
- }
-
- public String getTagName() {
- return tagName;
- }
-
- public Map<String, String> getAttributes() {
- return attributes;
- }
-
- @Override
- public void visit(Visitor visitor) {
- visitor.visit(this);
- }
-
- @Override
- public <T> T accept(Mapper<T> visitor) {
- return visitor.visit(this);
- }
-}