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, DEFAULT_USER_AGENT, proxyHost, proxyPort, proxyProtocol, readTimeout, validate
-
-
Constructor Summary
Constructors Constructor Description FDSNEventQuerier(FDSNEventQueryParams queryParams)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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, finalize, 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
-
-
-
-
Constructor Detail
-
FDSNEventQuerier
public FDSNEventQuerier(FDSNEventQueryParams queryParams)
-
-
Method Detail
-
getSchemaURL
public java.net.URL getSchemaURL()
- Specified by:
getSchemaURL
in classAbstractFDSNQuerier
-
getQuakeML
public Quakeml getQuakeML() throws FDSNWSException
- Throws:
FDSNWSException
-
validateQuakeML
public void validateQuakeML() throws SeisFileException, java.net.URISyntaxException
- 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
-
-