Package com.codingcrayons.aspectfaces.composition

Examples of com.codingcrayons.aspectfaces.composition.UIFragmentComposer


    this(ConfigurationStorage.getInstance().getConfiguration(configurationName), inspector);
  }

  public AFWeaver(Configuration configuration, Inspector inspector) {
    this.fragmentComposer = new UIFragmentComposer();
    this.configuration = configuration;
    this.inspector = inspector;
    this.cacheProvider = AFWeaver.defaultCacheProvider;
  }
View Full Code Here


   *
   * @param inspector - inspector
   */
  public void setInspector(Inspector inspector) {
    this.inspector = inspector;
    this.fragmentComposer = new UIFragmentComposer();
  }
View Full Code Here

  private String getAFGeneratedOutput(Context context, JavaInspector inspector) throws EvaluatorException,
    AnnotationNotRegisteredException, AnnotationNotFoundException, TemplateFileNotFoundException,
    TemplateFileAccessException, ConfigurationNotSetException, TagParserException {

    List<MetaProperty> metaProperties = inspector.inspect(context);
    UIFragmentComposer composer = new UIFragmentComposer();
    composer.addAllFields(metaProperties);
    return composer.composeForm(context).getCompleteForm().toString();
  }
View Full Code Here

    Configuration configuration = new StaticConfiguration(file.getName());
    configuration.addMapping(new Mapping("String", "path"));
    context.setConfiguration(configuration);

    List<MetaProperty> metaProperties = inspector.inspect(context);
    UIFragmentComposer composer = new UIFragmentComposer();
    composer.addAllFields(metaProperties);
    for (MetaProperty property : metaProperties) {
      @SuppressWarnings("unchecked")
      List<Variable> localVars = Collections.concatLists(context.getVariableList(),
        property.getTemplateVariables());
      TagVariableResolver vr = new TagVariableResolver();
View Full Code Here

TOP

Related Classes of com.codingcrayons.aspectfaces.composition.UIFragmentComposer

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.