Package juzu.impl.template

Examples of juzu.impl.template.PathLiteral


      templates.add(descriptor);
      juzu.impl.common.Path.Absolute path = (juzu.impl.common.Path.Absolute)juzu.impl.common.Path.parse(descriptor.getPath());
      Path qualifier;
      if (pkg.isPrefix(path.getName())) {
        juzu.impl.common.Path.Relative relativePath = juzu.impl.common.Path.relative(path.getName().subName(pkg.size()), path.getExt());
        qualifier = new PathLiteral(relativePath.getCanonical());
      } else {
        qualifier = new PathLiteral(path.getCanonical());
      }
      beans.add(BeanDescriptor.createFromImpl(Template.class, null, Arrays.<Annotation>asList(qualifier), descriptor.getType()));
    }

    //
View Full Code Here

TOP

Related Classes of juzu.impl.template.PathLiteral

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.