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

net.sf.nakeduml.seamgeneration.jsf.source.JsfSource Maven / Gradle / Ivy

The newest version!
package net.sf.nakeduml.seamgeneration.jsf.source;

import java.util.Properties;

public class JsfSource extends AbstractJsfSource {

	private String menu;
	private String body;

	public JsfSource(String menu, String body, int depthFromRoot, Properties namespaceProperties) {
		super(depthFromRoot, namespaceProperties);
		this.menu = menu;
		this.body = body;
	}

	@Override
	public char[] toCharArray() {
		startComposition();
		return stringBuilder.toString().toCharArray();
	}

	@Override
	protected void startComposition() {
		stringBuilder.append("\n");
		stringBuilder.append("\n\n");

		stringBuilder.append("    \n");
		stringBuilder.append("        \n");
		stringBuilder.append("    \n");

		stringBuilder.append("    \n");
		stringBuilder.append("        \n");
		stringBuilder.append("    \n");
		stringBuilder.append("");
	}

	@Override
	protected void endComposition() {
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy