ooc
Class SourceContextAbstract

java.lang.Object
  extended byooc.SourceContextAbstract
All Implemented Interfaces:
SourceContext
Direct Known Subclasses:
SourceContextClassPath, SourceContextDirectory, SourceContextFile

public abstract class SourceContextAbstract
extends java.lang.Object
implements SourceContext

Extend this class to facilitate the creation of a source context.


Constructor Summary
SourceContextAbstract(java.lang.String name)
          A name for this context is needed.
 
Method Summary
 java.lang.String getName()
          Returns the name of this source context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ooc.SourceContext
createSource, isSourceInContext
 

Constructor Detail

SourceContextAbstract

public SourceContextAbstract(java.lang.String name)
A name for this context is needed.

Method Detail

getName

public java.lang.String getName()
Description copied from interface: SourceContext
Returns the name of this source context.

Specified by:
getName in interface SourceContext
Returns:
the name of this source context.