ooc
Interface SourceContext

All Known Implementing Classes:
SourceContextAbstract

public interface SourceContext

Represents contexts from which sources can be obtained.


Method Summary
 Source createSource(java.lang.String sourceName)
          Returns a newly created source from which tags can be parsed.
 java.lang.String getName()
          Returns the name of this source context.
 boolean isSourceInContext(java.lang.String sourceName)
          Returns true if the given source exists in this contexts.
 

Method Detail

createSource

public Source createSource(java.lang.String sourceName)
Returns a newly created source from which tags can be parsed.

Parameters:
sourceName - is the name of the source created.
Returns:
a new created source from which tags can be parsed. If no source is found in this context, null is returned.

isSourceInContext

public boolean isSourceInContext(java.lang.String sourceName)
Returns true if the given source exists in this contexts.


getName

public java.lang.String getName()
Returns the name of this source context.

Returns:
the name of this source context.