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
All Methods Static Methods Instance Methods Concrete Methods 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)
-
-
-
Constructor Detail
-
FDSNStationXML
public FDSNStationXML(javax.xml.stream.XMLEventReader reader) throws javax.xml.stream.XMLStreamException, StationXMLException- Throws:
javax.xml.stream.XMLStreamExceptionStationXMLException
-
-
Method Detail
-
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
public NetworkIterator 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
public static FDSNStationXML 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
public void setQuerier(FDSNStationQuerier fdsnStationQuerier)
-
-