Package org.wicketstuff.pageserializer.common.analyze.report

Examples of org.wicketstuff.pageserializer.common.analyze.report.TreeTransformator


      public boolean accept(ISerializedObjectTree source, Level current)
      {
        return source.type() != Class.class;
      }
    };
    ISerializedObjectTreeProcessor cleanedTreeProcessor = new TreeTransformator(treeProcessor,
      TreeTransformator.strip(filter));
    ISerializationListener listener = SerializationListeners.listOf(
      new DefaultJavaSerializationValidator(),
      new AnalyzingSerializationListener(labelizer, cleanedTreeProcessor));
View Full Code Here


      public boolean accept(ISerializedObjectTree source, Level current)
      {
        return source.type() != Class.class;
      }
    };
    ISerializedObjectTreeProcessor cleanedTreeProcessor = new TreeTransformator(treeProcessor,
        TreeTransformator.strip(filter));
    ISerializationListener listener = SerializationListeners
        .listOf(new AnalyzingSerializationListener(labelizer, cleanedTreeProcessor));

    getFrameworkSettings().setSerializer(new FastWicketSerializer().setListener(listener));
View Full Code Here

      public boolean accept(ISerializedObjectTree source, Level current)
      {
        return source.type() != Class.class;
      }
    };
    ISerializedObjectTreeProcessor cleanedTreeProcessor = new TreeTransformator(treeProcessor,
        TreeTransformator.strip(filter));
    ISerializationListener listener = SerializationListeners
        .listOf(new AnalyzingSerializationListener(labelizer, cleanedTreeProcessor));

    getFrameworkSettings().setSerializer(new Fast2WicketSerializer().setListener(listener));
View Full Code Here

        new SortedTreeSizeReport(output.with(Keys.withNameAndFileExtension("treesize", "txt"))),
        new SimilarNodeTreeTransformator(new SortedTreeSizeReport(output.with(Keys.withNameAndFileExtension("sorted-treesize", "txt")))),
        new RenderTreeProcessor(output.with(Keys.withNameAndFileExtension("d3js-chart", "html")),new D3DataFileRenderer()));

      // strips class object writes from tree
      TreeTransformator treeProcessors = new TreeTransformator(
        typeAndSortedTreeAndCollapsedSortedTreeProcessors,
        TreeTransformator.strip(new TypeFilter(Class.class)));

      // serialization listener notified on every written object
      ISerializationListener serializationListener = SerializationListeners.listOf(
View Full Code Here

    ISerializedObjectTreeProcessor typeAndSortedTreeAndCollapsedSortedTreeProcessors = TreeProcessors.listOf(
      new TypeSizeReport(reportOutput), new SortedTreeSizeReport(reportOutput), new SimilarNodeTreeTransformator(
        new SortedTreeSizeReport(reportOutput)));

    // strips class object writes from tree
    TreeTransformator treeProcessors = new TreeTransformator(
      typeAndSortedTreeAndCollapsedSortedTreeProcessors,
      TreeTransformator.strip(new TypeFilter(Class.class)));

    // serialization listener notified on every written object
    ISerializationListener serializationListener = SerializationListeners.listOf(
View Full Code Here

    ISerializedObjectTreeProcessor treeProcessor = TreeProcessors.listOf(new TypeSizeReport(reportOutput),
      new TreeSizeReport(reportOutput), new SortedTreeSizeReport(reportOutput), new SimilarNodeTreeTransformator(
        new SortedTreeSizeReport(reportOutput)));
    ITreeFilter filter = new TypeFilter(Class.class);
    ISerializedObjectTreeProcessor cleanedTreeProcessor = new TreeTransformator(treeProcessor,
      TreeTransformator.strip(filter));
    ISerializationListener listener = SerializationListeners.listOf(
      new DefaultJavaSerializationValidator(), new LoggingSerializationListener(),
      new AnalyzingSerializationListener(labelizer, treeProcessor),
      new AnalyzingSerializationListener(labelizer, cleanedTreeProcessor));
View Full Code Here

TOP

Related Classes of org.wicketstuff.pageserializer.common.analyze.report.TreeTransformator

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.