Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.sequencer.javafile
Interface SourceFileRecorder

All Known Implementing Classes:
  ClassSourceFileRecorder

    @ThreadSafe
    public interface SourceFileRecorder

A simple interface that allows an implementer to control how Java source file metadata is mapped to properties (including primary and mixin types) in the graph.

Implementations of this class must provide a public, no-argument constructor.

To use, supply the implementation class name to a `JavaFileSequencer` object. Each instance will be reused for multiple `JavaFileSequencer.execute(javax.jcr.Property, javax.jcr.Node, org.modeshape.jcr.api.sequencer.Sequencer.Context)` sequence calls , so implementations of this interface must be thread-safe.

Method Summary
`void` | `record(Sequencer.Context context, Node outputNode, JavaMetadata javaMetadata)` Records a source file.

Method Detail

### record

    void record(Sequencer.Context context,
                Node outputNode,
                JavaMetadata javaMetadata)
                throws RepositoryException

  Records a source file.

  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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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