|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@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 |
|---|
void recordRow(Node outputNode,
String[] columns)
throws RepositoryException
Node instance.
outputNode - the node under which the sequencing output is placed.columns - the columns that could be parsed out for the row
RepositoryException - if anything fails while recording the row under the ouput node.
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||