package net.afterlifelochie.fontbox.document;

public class CompilerHint extends Element {

	public static enum HintType {
		PAGEBREAK, FLOATBREAK;
	}

	public HintType type;

	public CompilerHint(HintType type) {
		this.type = type;
	}
}

package net.afterlifelochie.fontbox.document;

import java.util.EnumSet;

public class CompilerHint extends Element {

	public static enum HintType {
		PAGEBREAK, FLOATBREAK;
	}

	public EnumSet<HintType> types;

	public CompilerHint(HintType type) {
		this.types = EnumSet.of(type);
	}
	
	public CompilerHint(EnumSet<HintType> types) {
		this.types = types;
	}
}

Enable CompilerHint to store multiple hint type flags