ModeShape Distribution 3.0.0.Beta4

org.modeshape.sequencer.javafile
Class ClassSourceFileRecorder

java.lang.Object
  extended by org.modeshape.sequencer.javafile.ClassSourceFileRecorder
All Implemented Interfaces:
SourceFileRecorder

public class ClassSourceFileRecorder
extends Object
implements SourceFileRecorder

A source file recorder that writes the Java metadata from the source file to the repository, using the same structure as the default mode of the Java Class File sequencer.


Constructor Summary
ClassSourceFileRecorder()
           
 
Method Summary
 void record(Sequencer.Context context, Node outputNode, JavaMetadata javaMetadata)
          Records a source file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassSourceFileRecorder

public ClassSourceFileRecorder()
Method Detail

record

public void record(Sequencer.Context context,
                   Node outputNode,
                   JavaMetadata javaMetadata)
            throws RepositoryException
Description copied from interface: SourceFileRecorder
Records a source file.

Specified by:
record in interface SourceFileRecorder
Parameters:
context - the sequencer context
outputNode - the Node output
javaMetadata - the metadata for the Java source file
Throws:
RepositoryException - if anything fails during the sequencing process

ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.