net.anotheria.asg.generator.view.jsp.LinksToMePageJspGenerator Maven / Gradle / Ivy
package net.anotheria.asg.generator.view.jsp;
import java.util.List;
import net.anotheria.asg.generator.GeneratedJSPFile;
import net.anotheria.asg.generator.GeneratorDataRegistry;
import net.anotheria.asg.generator.util.DirectLink;
import net.anotheria.asg.generator.view.meta.MetaModuleSection;
import net.anotheria.asg.generator.view.meta.MetaView;
public class LinksToMePageJspGenerator extends AbstractJSPGenerator{
public GeneratedJSPFile generate(MetaModuleSection section, MetaView view){
GeneratedJSPFile jsp = new GeneratedJSPFile();
startNewJob(jsp);
jsp.setName(getLinksToMePageName(section.getDocument()));
jsp.setPackage(getContext().getJspPackageName(section.getModule()));
resetIdent();
append(getBaseJSPHeader());
appendString("");
appendString("");
increaseIdent();
appendString("");
increaseIdent();
appendString("Direct links to the "+section.getDocument().getName()+"[] ");
generatePragmas(view);
appendString("");
decreaseIdent();
appendString("");
appendString("");
increaseIdent();
appendString("");
appendString("
");
appendString("
");
appendString(" ");
appendString("");
decreaseIdent();
appendString("");
decreaseIdent();
decreaseIdent();
appendString("");
appendString("");
append(getBaseJSPFooter());
return jsp;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy