Class AbstractSingleIncludeSourceProvider

java.lang.Object
com.scriptbasic.sourceproviders.AbstractSourceProvider
com.scriptbasic.sourceproviders.AbstractSingleIncludeSourceProvider
All Implemented Interfaces:
SourceProvider
Direct Known Subclasses:
SingleIncludeNonRelativeSourceProvider

public abstract class AbstractSingleIncludeSourceProvider extends AbstractSourceProvider
An abstract class to be extended by the source provider implementations that do not want to include one source more than once.

The implementations should not override the methods get() but should implement the abstract methods getSource(). The method getSource() is invoked only when it is ensured that the source was not yet included.

Author:
Peter Verhas