Package edu.sc.seis.seisFile.fdsnws
Class FDSNEventQuerier
java.lang.Object
edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
edu.sc.seis.seisFile.fdsnws.FDSNEventQuerier
- All Implemented Interfaces:
java.lang.AutoCloseable
public class FDSNEventQuerier extends AbstractFDSNQuerier
-
Field Summary
Fields inherited from class edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
connectionUri, connectTimeout, DEFAULT_CONNECT_TIMEOUT, DEFAULT_READ_TIMEOUT, DEFAULT_USER_AGENT, proxyHost, proxyPort, proxyProtocol, readTimeout, validate
-
Constructor Summary
Constructors Constructor Description FDSNEventQuerier(FDSNEventQueryParams queryParams)
-
Method Summary
Modifier and Type Method Description java.net.URI
formURI()
Quakeml
getQuakeML()
java.net.URL
getSchemaURL()
void
outputRaw(java.io.OutputStream out)
void
validateQuakeML()
static void
validateQuakeML(javax.xml.stream.XMLStreamReader reader)
Methods inherited from class edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
checkConnectionInitiated, close, connect, extractErrorMessage, extractRootCause, getAcceptHeader, getConnectionUri, getConnectTimeout, getErrorMessage, getInputStream, getProxyHost, getProxyPort, getProxyProtocol, getRawXML, getReader, getReadTimeout, getResponseCode, getUserAgent, isConnectionInitiated, isEmpty, isError, isValidate, outputRaw, processConnection, setAcceptHeader, setConnectTimeout, setProxyHost, setProxyPort, setProxyProtocol, setReadTimeout, setUserAgent, setValidate, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FDSNEventQuerier
-
-
Method Details
-
getSchemaURL
public java.net.URL getSchemaURL()- Specified by:
getSchemaURL
in classAbstractFDSNQuerier
-
getQuakeML
- Throws:
FDSNWSException
-
validateQuakeML
- Throws:
SeisFileException
java.net.URISyntaxException
-
validateQuakeML
public static void validateQuakeML(javax.xml.stream.XMLStreamReader reader) throws org.xml.sax.SAXException, java.io.IOException- Throws:
org.xml.sax.SAXException
java.io.IOException
-
formURI
public java.net.URI formURI() throws java.net.URISyntaxException- Specified by:
formURI
in classAbstractFDSNQuerier
- Throws:
java.net.URISyntaxException
-
outputRaw
public void outputRaw(java.io.OutputStream out) throws java.net.MalformedURLException, java.io.IOException, java.net.URISyntaxException, FDSNWSException- Overrides:
outputRaw
in classAbstractFDSNQuerier
- Throws:
java.net.MalformedURLException
java.io.IOException
java.net.URISyntaxException
FDSNWSException
-