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

## org.modeshape.sequencer.classfile
Interface ClassFileRecorder

All Known Implementing Classes:
  DefaultClassFileRecorder

    @ThreadSafe
    public interface ClassFileRecorder

A simple interface that allows an implementer to control how class file metadata 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 `ClassFileSequencer` object. Each instance will be reused for multiple `sequence calls`, so implementations of this interface must be thread-safe.

Method Summary
`void` | `recordClass(Sequencer.Context context, Node outputNode, ClassMetadata classMetadata)` Records a row using the provided `Node` node.

Method Detail

### recordClass

    void recordClass(Sequencer.Context context,
                     Node outputNode,
                     ClassMetadata classMetadata)
                     throws RepositoryException

  Records a row using the provided `Node` node.

  Parameters:
    `context` - the `Sequencer.Context`
    `outputNode` - the node to which the new content should be sequenced. This may either be new or existent `Sequencer.execute(javax.jcr.Property, javax.jcr.Node, org.modeshape.jcr.api.sequencer.Sequencer.Context)`
    `classMetadata` - the metadata for the class file
  Throws:
    `RepositoryException` - if anything fails during the recording process

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
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.