Skip to content

Commit

Permalink
Add getters for style, qName and attributes to Element
Browse files Browse the repository at this point in the history
  • Loading branch information
DeDiamondPro committed Jul 21, 2024
1 parent 34beef4 commit 5e30551
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/java/dev/dediamondpro/minemark/elements/Element.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,22 @@ public String buildTree(int depth) {
return children;
}

public S getStyle() {
return style;
}

public LayoutStyle getLayoutStyle() {
return layoutStyle;
}

public String getQName() {
return qName;
}

public Attributes getAttributes() {
return attributes;
}

public void setInline(boolean inline) {
this.isInline = inline;
}
Expand Down

0 comments on commit 5e30551

Please sign in to comment.