com.vladsch.flexmark.util.format.options.ElementPlacement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark-util-format Show documentation
Show all versions of flexmark-util-format Show documentation
flexmark-java format utility classes
The newest version!
package com.vladsch.flexmark.util.format.options;
public enum ElementPlacement {
AS_IS,
DOCUMENT_TOP,
GROUP_WITH_FIRST,
GROUP_WITH_LAST,
DOCUMENT_BOTTOM,
;
public boolean isNoChange() {
return this == AS_IS;
}
public boolean isChange() {
return this != AS_IS;
}
public boolean isTop() {
return this == DOCUMENT_TOP;
}
public boolean isBottom() {
return this == DOCUMENT_BOTTOM;
}
public boolean isGroupFirst() {
return this == GROUP_WITH_FIRST;
}
public boolean isGroupLast() {
return this == GROUP_WITH_LAST;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy