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()
static java.net.URL
findInternalSchema()
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 FDSNStationXML
loadStationXML(java.io.InputStream stream)
static FDSNStationXML
loadStationXML(java.io.Reader streamReader)
static FDSNStationXML
loadStationXML(java.lang.String filename)
static void
printSchema(java.io.OutputStream out)
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)
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.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
-
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.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
-
setQuerier
-