public class DalResultXMLFilter extends XMLFilterImpl
In many cases, you can just use the getDalResultTable(uk.ac.starlink.votable.VOElementFactory, org.xml.sax.InputSource)
utility method.
| Constructor and Description |
|---|
DalResultXMLFilter(XMLReader parent,
Namespacing namespacing)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String namespaceURI,
String localName,
String qName) |
void |
endPrefixMapping(String prefix) |
static StarTable |
getDalResultTable(VOElementFactory vofact,
InputSource inSrc)
Utility method which can return the single results table from a
DAL-type response.
|
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
static VOElement |
parseDalResult(VOElementFactory vofact,
InputSource inSrc)
Utility method which uses an instance of this class to turn a SAX
InputSource into a DOM.
|
void |
processingInstruction(String target,
String data) |
void |
skippedEntity(String name) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
void |
startPrefixMapping(String prefix,
String uri) |
endDocument, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, notationDecl, parse, parse, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, startDocument, unparsedEntityDecl, warningpublic DalResultXMLFilter(XMLReader parent, Namespacing namespacing)
parent - parent SAX readernamespacing - VOTable namespacing policy to employpublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class XMLFilterImplSAXExceptionpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class XMLFilterImplSAXExceptionpublic void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class XMLFilterImplSAXExceptionpublic void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping in interface ContentHandlerendPrefixMapping in class XMLFilterImplSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class XMLFilterImplSAXExceptionpublic void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerignorableWhitespace in class XMLFilterImplSAXExceptionpublic void processingInstruction(String target, String data) throws SAXException
processingInstruction in interface ContentHandlerprocessingInstruction in class XMLFilterImplSAXExceptionpublic void skippedEntity(String name) throws SAXException
skippedEntity in interface ContentHandlerskippedEntity in class XMLFilterImplSAXExceptionpublic static VOElement parseDalResult(VOElementFactory vofact, InputSource inSrc) throws IOException
vofact - factory which can generate VOTable DOMsinSrc - source of the SAX streamIOExceptionpublic static StarTable getDalResultTable(VOElementFactory vofact, InputSource inSrc) throws IOException
vofact - factory which can generate VOTable DOMsinSrc - source of the SAX streamIOException - in case of error, including an ERROR-valued
QUERY_STATUS in the response, or no suitable table foundCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.