org.jplate.foundation.source
Interface SourceFactoryIfc<S>
- Type Parameters:
S
- The real "source" (for instance, file, URL, etc).
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- DefaultSourceFactory
public interface SourceFactoryIfc<S>
- extends java.io.Serializable
Defines the API for creating implementations of SourceIfc.
For an example implementation and usage, please refer to
DefaultSourceFactory
.
Modifications:
$Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
$Revision: 479 $
$Author: sfloess $
$HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/source/SourceFactoryIfc.java $
- See Also:
DefaultSourceFactory
createSource
SourceIfc<S> createSource(S source,
int line,
int column)
- Create and return a source.
- Parameters:
source
- The "real" source from which something exists (for instance a
file).line
- The line number in source
.column
- The column number in source.
- Returns:
- A source.