Skip to content

Commit 5e30551

Browse files
committed
Add getters for style, qName and attributes to Element
1 parent 34beef4 commit 5e30551

File tree

1 file changed

+12
-0
lines changed
  • src/main/java/dev/dediamondpro/minemark/elements

1 file changed

+12
-0
lines changed

src/main/java/dev/dediamondpro/minemark/elements/Element.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,22 @@ public String buildTree(int depth) {
163163
return children;
164164
}
165165

166+
public S getStyle() {
167+
return style;
168+
}
169+
166170
public LayoutStyle getLayoutStyle() {
167171
return layoutStyle;
168172
}
169173

174+
public String getQName() {
175+
return qName;
176+
}
177+
178+
public Attributes getAttributes() {
179+
return attributes;
180+
}
181+
170182
public void setInline(boolean inline) {
171183
this.isInline = inline;
172184
}

0 commit comments

Comments
 (0)