Package edu.sc.seis.seisFile.fdsnws
Class FDSNEventQuerier
java.lang.Object
edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
edu.sc.seis.seisFile.fdsnws.FDSNEventQuerier
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, proxyHost, proxyPort, proxyScheme, 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
buildHttpClient, checkConnectionInitiated, close, connect, extractErrorMessage, extractRootCause, finalize, getAcceptHeader, getConnectionUri, getConnectTimeout, getErrorMessage, getInputStream, getProxyHost, getProxyPort, getProxyScheme, getRawXML, getReader, getReadTimeout, getResponseCode, getUserAgent, initHttpClientBuilder, initHttpRequestConfigBuilder, isConnectionInitiated, isEmpty, isError, isValidate, outputRaw, processConnection, setAcceptHeader, setConnectTimeout, setProxyHost, setProxyPort, setProxyScheme, setReadTimeout, setUserAgent, setValidate, validate
-
Constructor Details
-
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
-