Package org.oorexx.doc.velocity.tool

Examples of org.oorexx.doc.velocity.tool.FileScopeParser


 
  protected static void generate(File destFile, List<OORexxPackage> containers, List<File> srcFileScopes, String title, Map<String, String> headerData, String overview)throws Exception{
    VelocityContext context = new VelocityContext();
   
    fileScopes = srcFileScopes;
    fileScopeParser = new FileScopeParser(srcFileScopes);
   
    List<OORexxClass> classList = new LinkedList<OORexxClass>();
    List<OORexxRoutine> routineList = new LinkedList<OORexxRoutine>();
    List<File> packageList = new LinkedList<File>();
   
View Full Code Here


    for(OORexxPackage container: containers){

        VelocityContext context = new VelocityContext();
          context.put("container", container);
          context.put("srcFile", container.getFile());
          context.put("fileScopeParser", new FileScopeParser(fileScopes));
          context.put("options", container.getOptions());
          context.put("requires", container.getRequires());
          context.put("id", fileScopeParser.createId(container.getFile(), container.getName()));
         
          Template template = loadTemplate("template/package.html");
View Full Code Here

public class OverviewFile {
  protected static void generate(File destFile, List<OORexxPackage> containers, List<File> srcFileScopes, String overview)throws Exception{
    VelocityContext context = new VelocityContext();
   
    context.put("overview", overview);
    context.put("fileScopeParser", new FileScopeParser(srcFileScopes));

   
    Template template = null;

    try {
View Full Code Here

   
    Collections.sort(routineList);
    Collections.sort(classList);
    Collections.sort(packageList, new FileComperator());
   
    context.put("fileScopeParser", new FileScopeParser(srcFileScopes));
    context.put("title", title);
    context.put("headerData", headerData);
    context.put("classList", classList);
    context.put("routineList", routineList);
    context.put("packageList", packageList);
View Full Code Here

      indexMap.put("" + letter, list);
      letter++;
    }

    context.put("indexMap", indexMap);
    context.put("fileScopeParser", new FileScopeParser(srcFileScopes));

   
    Template template = null;

    try {
View Full Code Here

    for(OORexxPackage container: containers){

        VelocityContext context = new VelocityContext();
          context.put("container", container);
          context.put("srcFile", container.getFile());
          context.put("fileScopeParser", new FileScopeParser(srcFileScopes));
          Template template = null;
         
          try {
            template = Velocity.getTemplate("template/package.html");
          } catch (ResourceNotFoundException rnfe) {
View Full Code Here

    for(OORexxPackage container: containers){
     
      for(OORexxRoutine routine: container.getRoutines()){
       
        VelocityContext context = new VelocityContext();
          context.put("fileScopeParser", new FileScopeParser(srcFileScopes));
          context.put("requires", container.getRequires());
          context.put("routine", routine);
          context.put("options", container.getOptions());
          context.put("srcFile", container.getFile());
         
View Full Code Here

    for(OORexxPackage container: containers){
     
      for(OORexxClass clazz: container.getClasses()){
       
        VelocityContext context = new VelocityContext();
          context.put("fileScopeParser", new FileScopeParser(srcFileScopes));
          context.put("requires", container.getRequires());
          context.put("ooRexxClass", clazz);
          context.put("options", container.getOptions());
          context.put("srcFile", container.getFile());
          context.put("crossRef", container.getClassCrossReferences().get(clazz));
View Full Code Here

TOP

Related Classes of org.oorexx.doc.velocity.tool.FileScopeParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.