org.tinyjee.maven.dim.spi
Interface Source

All Known Implementing Classes:
AbstractBufferedSource, AbstractSource, FixedContentSource, MergeSource, SourceClassAdapter, TemplateSource, UrlSource

public interface Source

Defines an abstract interface for sources that may be a mixture of source content (multiple snippets) and assigned meta data (parameters).

Author:
Juergen_Kellerer, 2010-09-04

Nested Class Summary
static interface Source.Content
          Defines actual source content.
 
Method Summary
 Source.Content getContent()
          Retrieves the source content.
 URL getUrl()
          Returns the underlying source URL or 'null' if this Source doesn't refer to an URL.
 

Method Detail

getUrl

URL getUrl()
Returns the underlying source URL or 'null' if this Source doesn't refer to an URL.

Returns:
the underlying source URL or 'null' if this Source doesn't refer to an URL.

getContent

Source.Content getContent()
Retrieves the source content.

Returns:
the source content.