Package uk.ac.starlink.ttools.votlint
Class VotLinter
- java.lang.Object
-
- uk.ac.starlink.ttools.votlint.VotLinter
-
public class VotLinter extends java.lang.Object
Main class for performing a VOTable lint.- Since:
- 7 Apr 2005
- Author:
- Mark Taylor (Starlink)
-
-
Constructor Summary
Constructors Constructor Description VotLinter(VotLintContext context)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xml.sax.XMLReader
createParser(org.xml.sax.ContentHandler userHandler)
Constructs a linting parser.
-
-
-
Constructor Detail
-
VotLinter
public VotLinter(VotLintContext context)
Constructor.- Parameters:
context
- lint context
-
-
Method Detail
-
createParser
public org.xml.sax.XMLReader createParser(org.xml.sax.ContentHandler userHandler) throws org.xml.sax.SAXException
Constructs a linting parser. Parsing a SAX stream with this object will perform the validation. A user-supplied content handler may additionally be supplied; if so, all SAX events will be fed to this handler as well as to the linting handlers.- Parameters:
userHandler
- content handler that receives all SAX events, or null if only linting is required- Returns:
- parser
- Throws:
org.xml.sax.SAXException
-
-