Package net.sf.laja.template.data

Examples of net.sf.laja.template.data.StringExp


    return baseTemplate;
  }

  @Override
  public IStringExp createStringExp() {
    return new StringExp();
  }
View Full Code Here


  }

  @Override
  public IImportcmd createImportcmd(ITemplate itemplate) {
    Template template = (Template) itemplate;
    StringExp filename = new StringExp();
    filename.addText(source.getName());
    return new Importcmd(new ImportedFiles(filename), templateTextWriter, source, namespaces, classes, template.getContext(), groovyClassLoader);
  }
View Full Code Here

    this.block = (Block)iblock;
  }

  public void insertSystemImportsAsFirstStatement(String systemImportsFile) {
    Importcmd systemImports = new Importcmd(importedFiles, templateTextWriter, source, namespaces, classes, context, groovyClassLoader);
    StringExp filename = new StringExp();
    filename.addText(systemImportsFile);
    systemImports.setFilename(filename);
    block.insertFirst(systemImports);
  }
View Full Code Here

TOP

Related Classes of net.sf.laja.template.data.StringExp

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.