Class TableSetSaxHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
uk.ac.starlink.vo.TableSetSaxHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class TableSetSaxHandler extends DefaultHandler
Parses an XML document which describes Tabular Data as prescribed by the VODataService standard. It will pick up <table> elements (of type vs:Table), or elements that look like them, to build a picture of the tables and their columns and foreign keys. XML documents of this type are exposed by VOSI and TAP services.

The easiest way to make use of this class is via the static method readTableSet(java.net.URL, uk.ac.starlink.util.ContentCoding) or the convenience main(java.lang.String[]) method.

See Also: