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 boolean
checkSchemaVersion()
void
closeReader()
static FDSNStationXML
createEmpty()
java.lang.String
getCreated()
static org.slf4j.Logger
getLogger()
java.lang.String
getModule()
java.lang.String
getModuleUri()
NetworkIterator
getNetworks()
javax.xml.stream.XMLEventReader
getReader()
java.lang.String
getSchemaVersion()
java.lang.String
getSender()
java.lang.String
getSource()
java.lang.String
getXmlSchemaLocation()
static java.net.URL
loadSchema()
static java.net.URL
loadSchemaWithAvailability()
static FDSNStationXML
loadStationXML(java.io.InputStream stream)
static FDSNStationXML
loadStationXML(java.io.Reader streamReader)
static FDSNStationXML
loadStationXML(java.lang.String filename)
static void
main(java.lang.String[] args)
void
setCreated(java.lang.String created)
void
setModule(java.lang.String module)
void
setQuerier(FDSNStationQuerier fdsnStationQuerier)
void
setResponse(org.apache.http.client.methods.CloseableHttpResponse response)
void
setSender(java.lang.String sender)
void
setSource(java.lang.String source)
void
setXmlSchemaLocation(java.lang.String xmlns)
-
Constructor Details
-
FDSNStationXML
public FDSNStationXML(javax.xml.stream.XMLEventReader reader) throws javax.xml.stream.XMLStreamException, StationXMLException- Throws:
javax.xml.stream.XMLStreamException
StationXMLException
-
-
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
-
loadSchema
public static java.net.URL loadSchema() -
loadSchemaWithAvailability
public static java.net.URL loadSchemaWithAvailability() -
loadStationXML
public static FDSNStationXML loadStationXML(java.io.Reader streamReader) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException- Throws:
javax.xml.stream.XMLStreamException
java.io.IOException
SeisFileException
-
loadStationXML
public static FDSNStationXML loadStationXML(java.io.InputStream stream) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException- Throws:
javax.xml.stream.XMLStreamException
java.io.IOException
SeisFileException
-
loadStationXML
public static FDSNStationXML loadStationXML(java.lang.String filename) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException- Throws:
javax.xml.stream.XMLStreamException
java.io.IOException
SeisFileException
-
main
public static void main(java.lang.String[] args) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException, com.martiansoftware.jsap.JSAPException- Throws:
javax.xml.stream.XMLStreamException
java.io.IOException
SeisFileException
com.martiansoftware.jsap.JSAPException
-
setQuerier
-