public class FDSNStationXML
extends java.lang.Object
Constructor and Description |
---|
FDSNStationXML(javax.xml.stream.XMLEventReader reader) |
Modifier and Type | Method and 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) |
public FDSNStationXML(javax.xml.stream.XMLEventReader reader) throws javax.xml.stream.XMLStreamException, StationXMLException
javax.xml.stream.XMLStreamException
StationXMLException
public java.lang.String getSource()
public void setSource(java.lang.String source)
public java.lang.String getSender()
public void setSender(java.lang.String sender)
public java.lang.String getModule()
public void setModule(java.lang.String module)
public java.lang.String getCreated()
public void setCreated(java.lang.String created)
public NetworkIterator getNetworks()
public void closeReader()
public java.lang.String getXmlSchemaLocation()
public void setXmlSchemaLocation(java.lang.String xmlns)
public javax.xml.stream.XMLEventReader getReader()
public java.lang.String getModuleUri()
public java.lang.String getSchemaVersion()
public static org.slf4j.Logger getLogger()
public boolean checkSchemaVersion()
public void setResponse(org.apache.http.client.methods.CloseableHttpResponse response)
public static FDSNStationXML createEmpty()
public static java.net.URL findInternalSchema()
public static void printSchema(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public static FDSNStationXML loadStationXML(java.io.Reader streamReader) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException
javax.xml.stream.XMLStreamException
java.io.IOException
SeisFileException
public static FDSNStationXML loadStationXML(java.io.InputStream stream) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException
javax.xml.stream.XMLStreamException
java.io.IOException
SeisFileException
public static FDSNStationXML loadStationXML(java.lang.String filename) throws javax.xml.stream.XMLStreamException, java.io.IOException, SeisFileException
javax.xml.stream.XMLStreamException
java.io.IOException
SeisFileException
public void setQuerier(FDSNStationQuerier fdsnStationQuerier)