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.URIformURI()QuakemlgetQuakeML()java.net.URLgetSchemaURL()voidoutputRaw(java.io.OutputStream out)voidvalidateQuakeML()static voidvalidateQuakeML(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:
getSchemaURLin classAbstractFDSNQuerier
-
getQuakeML
public Quakeml getQuakeML() throws FDSNWSException
- Throws:
FDSNWSException
-
validateQuakeML
public void validateQuakeML() throws SeisFileException, java.net.URISyntaxException- Throws:
SeisFileExceptionjava.net.URISyntaxException
-
validateQuakeML
public static void validateQuakeML(javax.xml.stream.XMLStreamReader reader) throws org.xml.sax.SAXException, java.io.IOException- Throws:
org.xml.sax.SAXExceptionjava.io.IOException
-
formURI
public java.net.URI formURI() throws java.net.URISyntaxException- Specified by:
formURIin 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:
outputRawin classAbstractFDSNQuerier- Throws:
java.net.MalformedURLExceptionjava.io.IOExceptionjava.net.URISyntaxExceptionFDSNWSException
-
-