Package uk.ac.starlink.ttools.votlint
Class VotLinter
java.lang.Object
uk.ac.starlink.ttools.votlint.VotLinter
Main class for performing a VOTable lint.
- Since:
- 7 Apr 2005
- Author:
- Mark Taylor (Starlink)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateParser
(ContentHandler userHandler) Constructs a linting parser.
-
Constructor Details
-
VotLinter
Constructor.- Parameters:
context
- lint context
-
-
Method Details
-
createParser
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:
SAXException
-