net.sf.nakeduml.seamgeneration.jsf.source.JsfSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metamodel Show documentation
Show all versions of metamodel Show documentation
A uml code generator and execution engine
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() {
}
}