
org.zwobble.mammoth.internal.documents.Break Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mammoth Show documentation
Show all versions of mammoth Show documentation
Convert Word documents to simple and clean HTML
The newest version!
package org.zwobble.mammoth.internal.documents;
public class Break implements DocumentElement {
public enum Type {
LINE,
PAGE,
COLUMN
}
public static final Break LINE_BREAK = new Break(Type.LINE);
public static final Break PAGE_BREAK = new Break(Type.PAGE);
public static final Break COLUMN_BREAK = new Break(Type.COLUMN);
private final Type type;
private Break(Type type) {
this.type = type;
}
public Type getType() {
return type;
}
@Override
public T accept(DocumentElementVisitor visitor, U context) {
return visitor.visit(this, context);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy