uk.ac.starlink.ttools.lint
Class HandlerFactory

java.lang.Object
  extended by uk.ac.starlink.ttools.lint.HandlerFactory

public class HandlerFactory
extends Object

Factory for creating ElementHandlers.

Since:
7 Apr 2005
Author:
Mark Taylor (Starlink)

Constructor Summary
HandlerFactory(LintContext context)
          Constructor.
 
Method Summary
 ElementHandler createHandler(String name)
          Constructs an ElementHandler for an element with a given local name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerFactory

public HandlerFactory(LintContext context)
Constructor.

Parameters:
context - lint context
Method Detail

createHandler

public ElementHandler createHandler(String name)
Constructs an ElementHandler for an element with a given local name.

Parameters:
name - local name for the element
Returns:
new handler for an element of type name


Copyright © 2009 Central Laboratory of the Research Councils. All Rights Reserved.