All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openxma.dsl.common.formatter.OpenXMALineWrap Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
package org.openxma.dsl.common.formatter;

import org.eclipse.xtext.AbstractElement;

public class OpenXMALineWrap {
	final private int lines;
	private boolean after=false;
	
	private AbstractElement element;
	
	public OpenXMALineWrap() {
		this(1);				
	}
	public OpenXMALineWrap(int count) {
		this.lines = count;
	}
	public int getLines() {
		return lines;
	}

	public void before(AbstractElement element) {
		this.element = element;
	}
	public void after(AbstractElement element) {
		this.element = element;
		this.after=true;
	}	
	public AbstractElement getElement() {
		return element;
	}
	public boolean isAfter() {
		return after;
	}
}	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy