Class FDSNStationXML
java.lang.Object
edu.sc.seis.seisFile.fdsnws.stationxml.FDSNStationXML
public class FDSNStationXML
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description FDSNStationXML(javax.xml.stream.XMLEventReader reader) -
Method Summary
Modifier and Type Method Description booleancheckSchemaVersion()voidcloseReader()static FDSNStationXMLcreateEmpty()static java.net.URLfindInternalSchema()java.lang.StringgetCreated()static org.slf4j.LoggergetLogger()java.lang.StringgetModule()java.lang.StringgetModuleUri()NetworkIteratorgetNetworks()javax.xml.stream.XMLEventReadergetReader()java.lang.StringgetSchemaVersion()java.lang.StringgetSender()java.lang.StringgetSource()java.lang.StringgetXmlSchemaLocation()static FDSNStationXMLloadStationXML(java.io.InputStream stream)static FDSNStationXMLloadStationXML(java.io.Reader streamReader)static FDSNStationXMLloadStationXML(java.lang.String filename)static voidprintSchema(java.io.OutputStream out)voidsetCreated(java.lang.String created)voidsetModule(java.lang.String module)voidsetQuerier(FDSNStationQuerier fdsnStationQuerier)voidsetResponse(org.apache.http.client.methods.CloseableHttpResponse response)voidsetSender(java.lang.String sender)voidsetSource(java.lang.String source)voidsetXmlSchemaLocation(java.lang.String xmlns)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FDSNStationXML
public FDSNStationXML(javax.xml.stream.XMLEventReader reader) throws javax.xml.stream.XMLStreamException, StationXMLException- Throws:
javax.xml.stream.XMLStreamExceptionStationXMLException
-
-
Method Details
-
getSource
public java.lang.String getSource() -
setSource
public void setSource(java.lang.String source) -
getSender
public java.lang.String getSender() -
setSender
public void setSender(java.lang.String sender) -
getModule
public java.lang.String getModule() -
setModule
public void setModule(java.lang.String module) -
getCreated
public java.lang.String getCreated() -
setCreated
public void setCreated(java.lang.String created) -
getNetworks
-
closeReader
public void closeReader() -
getXmlSchemaLocation
public java.lang.String getXmlSchemaLocation() -
setXmlSchemaLocation
public void setXmlSchemaLocation(java.lang.String xmlns) -
getReader
public javax.xml.stream.XMLEventReader getReader() -
getModuleUri
public java.lang.String getModuleUri() -
getSchemaVersion
public java.lang.String getSchemaVersion() -
getLogger
public static org.slf4j.Logger getLogger() -
checkSchemaVersion
public boolean checkSchemaVersion() -
setResponse
public void setResponse(org.apache.http.client.methods.CloseableHttpResponse response) -
createEmpty
-
findInternalSchema
public static java.net.URL findInternalSchema() -
printSchema
public static void printSchema(java.io.OutputStream out) throws java.io.IOException- Throws:
java.io.IOException
-
loadStationXML
public static FDSNStationXML loadStationXML(java.io.Reader streamReader) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException- Throws:
javax.xml.stream.XMLStreamExceptionjava.io.IOExceptionSeisFileException
-
loadStationXML
public static FDSNStationXML loadStationXML(java.io.InputStream stream) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException- Throws:
javax.xml.stream.XMLStreamExceptionjava.io.IOExceptionSeisFileException
-
loadStationXML
public static FDSNStationXML loadStationXML(java.lang.String filename) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException- Throws:
javax.xml.stream.XMLStreamExceptionjava.io.IOExceptionSeisFileException
-
setQuerier
-