jgb.builder
Interface TagHandlerFactory

All Known Implementing Classes:
PackageTagHandlerFactory

public interface TagHandlerFactory

Abstract factory that returns TagHandlers based on the tag name.

Since:
0.1.1a
Author:
Francois Beausoleil, fbos@users.sourceforge.net

Method Summary
 jgb.builder.TagHandler getHandlerFor(String tagName)
          Returns a TagHandler for the named tag.
 

Method Detail

getHandlerFor

public jgb.builder.TagHandler getHandlerFor(String tagName)
                                     throws ClassNotFoundException
Returns a TagHandler for the named tag. This method must return the same instance each time it is called with the same argument. This way, tag handlers can store information in their instance variables, although this is discouraged.

Throws:
ClassNotFoundException - If the named tag does not exist or is not understood by this factory.


Copyright 2002-2003, François Beausoleil, All Rights Reserved