uk.ac.starlink.ttools.votlint
Class VotLinter

java.lang.Object
  extended by uk.ac.starlink.ttools.votlint.VotLinter

public class VotLinter
extends Object

Main class for performing a VOTable lint.

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

Constructor Summary
VotLinter(VotLintContext context)
          Constructor.
 
Method Summary
 XMLReader createParser(boolean validate)
          Constructs a linting parser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VotLinter

public VotLinter(VotLintContext context)
Constructor.

Parameters:
context - lint context
Method Detail

createParser

public XMLReader createParser(boolean validate)
                       throws SAXException
Constructs a linting parser. Parsing a SAX stream with this object will perform the lint.

Parameters:
validate - whether you want a validating parser
Returns:
parser
Throws:
SAXException


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