info.magnolia.rendering.generator
Class CopyGenerator

java.lang.Object
  extended by info.magnolia.rendering.generator.CopyGenerator
All Implemented Interfaces:
Generator<AutoGenerationConfiguration>

public class CopyGenerator
extends Object
implements Generator<AutoGenerationConfiguration>

An implementation of Generator which will create nodes and properties verbatim as found in AutoGenerationConfiguration.getContent().


Constructor Summary
CopyGenerator(javax.jcr.Node parent)
           
 
Method Summary
 void generate(AutoGenerationConfiguration autoGenerationConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyGenerator

public CopyGenerator(javax.jcr.Node parent)
Method Detail

generate

public void generate(AutoGenerationConfiguration autoGenerationConfig)
              throws RenderException
Specified by:
generate in interface Generator<AutoGenerationConfiguration>
Throws:
RenderException


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.