Class Quakeml
- java.lang.Object
-
- edu.sc.seis.seisFile.fdsnws.quakeml.Quakeml
-
public class Quakeml extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Quakeml(javax.xml.stream.XMLEventReader reader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckSchemaVersion()voidclose()static QuakemlcreateEmptyQuakeML()java.util.List<Event>extractAllEvents()static java.net.URLfindInternalBEDSchema()static java.net.URLfindInternalSchema()EventParametersgetEventParameters()java.lang.StringgetSchemaVersion()static QuakemlloadQuakeML(java.io.Reader streamReader)static voidprintSchema(java.io.OutputStream out)voidsetEventParameters(EventParameters eventParameters)voidsetQuerier(FDSNEventQuerier q)voidsetResponse(org.apache.hc.core5.http.ClassicHttpResponse response)voidsetSchemaVersion(java.lang.String schemaVersion)
-
-
-
Constructor Detail
-
Quakeml
public Quakeml(javax.xml.stream.XMLEventReader reader) throws javax.xml.stream.XMLStreamException, SeisFileException- Throws:
javax.xml.stream.XMLStreamExceptionSeisFileException
-
-
Method Detail
-
createEmptyQuakeML
public static Quakeml createEmptyQuakeML()
-
findInternalSchema
public static java.net.URL findInternalSchema()
-
findInternalBEDSchema
public static java.net.URL findInternalBEDSchema()
-
printSchema
public static void printSchema(java.io.OutputStream out) throws java.io.IOException- Throws:
java.io.IOException
-
loadQuakeML
public static Quakeml loadQuakeML(java.io.Reader streamReader) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException
- Throws:
javax.xml.stream.XMLStreamExceptionjava.io.IOExceptionSeisFileException
-
extractAllEvents
public java.util.List<Event> extractAllEvents() throws SeisFileException, javax.xml.stream.XMLStreamException
- Throws:
SeisFileExceptionjavax.xml.stream.XMLStreamException
-
checkSchemaVersion
public boolean checkSchemaVersion()
-
close
public void close()
-
getEventParameters
public EventParameters getEventParameters()
-
getSchemaVersion
public java.lang.String getSchemaVersion()
-
setEventParameters
public void setEventParameters(EventParameters eventParameters)
-
setQuerier
public void setQuerier(FDSNEventQuerier q)
-
setResponse
public void setResponse(org.apache.hc.core5.http.ClassicHttpResponse response)
-
setSchemaVersion
public void setSchemaVersion(java.lang.String schemaVersion)
-
-