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 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)
-
-
-
Constructor Detail
-
FDSNStationXML
public FDSNStationXML(javax.xml.stream.XMLEventReader reader) throws javax.xml.stream.XMLStreamException, StationXMLException
- Throws:
javax.xml.stream.XMLStreamException
StationXMLException
-
-
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.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
public void setQuerier(FDSNStationQuerier fdsnStationQuerier)
-
-