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.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java b/src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java
index 73f4734..f8bea1d 100644
--- a/src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java
+++ b/src/main/java/org/zwobble/mammoth/html/HtmlSelfClosingElement.java
@@ -11,6 +11,10 @@ public class HtmlSelfClosingElement implements HtmlNode {
this.attributes = attributes;
}
+ public Map<String, String> getAttributes() {
+ return attributes;
+ }
+
@Override
public void write(StringBuilder builder) {
builder.append("<").append(tagName);