uk.ac.starlink.ttools.lint
Class CheckerFactory

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

public class CheckerFactory
extends Object

Factory for attribute checkers.

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

Constructor Summary
CheckerFactory(LintContext context)
          Constructor.
 
Method Summary
 Map getAttributeCheckers(String name)
          Returns a map of attname->AttributeChecker objects for a named type of element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckerFactory

public CheckerFactory(LintContext context)
Constructor.

Parameters:
context - context within which this factory will work
Method Detail

getAttributeCheckers

public Map getAttributeCheckers(String name)
Returns a map of attname->AttributeChecker objects for a named type of element. A new map is only constructed if this method hasn't been called with the same argument before.

Parameters:
name - local name of the VOTable element type
Returns:
attribute name -> attribute checker map for checkable attributes


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