Class VotLintEntityResolver

java.lang.Object
uk.ac.starlink.ttools.votlint.VotLintEntityResolver
All Implemented Interfaces:
EntityResolver, LexicalHandler

public class VotLintEntityResolver extends Object implements EntityResolver, LexicalHandler
Provides entity resolution for the VOTable linter. In particular, when registered as a LexicalHandler during the VOTable parse, this resolver will make sure that whatever entity is declared as the external DTD in fact resolves to the (locally held) text of one of the VOTable DTDs (according to the context's version). This both ensures that we're using a known, correct copy of the DTD, and prevents the necessity for making external network connections.
Since:
8 Apr 2005
Author:
Mark Taylor (Starlink)