Class VotCopyHandler

java.lang.Object
uk.ac.starlink.ttools.copy.VotCopyHandler
All Implemented Interfaces:
ContentHandler, LexicalHandler, uk.ac.starlink.votable.TableHandler

public class VotCopyHandler extends Object implements ContentHandler, LexicalHandler, uk.ac.starlink.votable.TableHandler
SAX content handler which takes SAX events and converts them to an output stream in a VOTable-sensitive way. As far as is possible given the SAX model, each input SAX event is sent to the output unchanged apart from events within a DATA element, which are written in one of the VOTable encodings as selected by the user.

One exception to the rule is that, for implementation-specific reasons, FIELD elements with datatype="bit" are changed to have datatype="boolean" instead.

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