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.text
Interface RowFactory

All Known Implementing Classes:
  DefaultRowFactory

    @NotThreadSafe
    public interface RowFactory

A simple interface that allows an implementer to control how rows in a text file are 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 `AbstractTextSequencer` object. New instances are created for each `Sequencer.execute(javax.jcr.Property, javax.jcr.Node, org.modeshape.jcr.api.sequencer.Sequencer.Context)` so implementations of this interface need not be thread-safe.

Method Summary
`void` | `recordRow(Node outputNode, String[] columns)` Records a row using under the provided `Node` instance.

Method Detail

### recordRow

    void recordRow(Node outputNode,
                   String[] columns)
                   throws RepositoryException

  Records a row using under the provided `Node` instance.

  Parameters:
    `outputNode` - the node under which the sequencing output is placed.
    `columns` - the columns that could be parsed out for the row
  Throws:
    `RepositoryException` - if anything fails while recording the row under the ouput node.

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.