Class VotLinter


  • public class VotLinter
    extends java.lang.Object
    Main class for performing a VOTable lint.
    Since:
    7 Apr 2005
    Author:
    Mark Taylor (Starlink)
    • 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.
      • 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 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