public class WmlTVPEncoderv20XmlStreamWriter extends AbstractOmV20XmlStreamWriter
AbstractOmV20XmlStreamWriter to write WaterML 2.0
encoded OmObservations to streamXML_FRAGMENT| Constructor and Description |
|---|
WmlTVPEncoderv20XmlStreamWriter(EncodingContext context,
OutputStream outputStream,
org.n52.shetland.ogc.om.OmObservation element) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAndWriteDescription() |
protected void |
checkAndWriteIdentifier() |
protected void |
checkAndWriteName() |
protected Optional<String> |
getDefaultFeatureEncodingNamespace() |
protected void |
writeAddtitionalNamespaces() |
protected void |
writeResult()
write om:result to stream
|
getDocumentAdditionalHelperValues, getDocumentName, getTimeString, write, writeDescription, writeFeatureOfIntererst, writeIdentifier, writeMetadata, writeMetaDataProperty, writeName, writeObservableProperty, writeObservation, writeObservationType, writeParameter, writePhenomenonTime, writeProcedure, writeResultTime, writeValidTimeaddXlinkHrefAttr, addXlinkTitleAttr, attr, attr, attr, chars, chars, empty, end, end, endInline, finish, flush, getContext, getElement, getEncodeNamespace, getEncoder, getEncoder, getEncoder, getOutputStream, getReplacement, getXmlOptions, isAddSchemaLocation, namespace, rawText, schemaLocation, start, start, time, time, tryGetEncoder, writeXmlObject, writeXmlObjectpublic WmlTVPEncoderv20XmlStreamWriter(EncodingContext context, OutputStream outputStream, org.n52.shetland.ogc.om.OmObservation element) throws XMLStreamException
XMLStreamExceptionprotected void writeResult()
throws XMLStreamException,
EncodingException
AbstractOmV20XmlStreamWriterwriteResult in class AbstractOmV20XmlStreamWriterXMLStreamException - If an error occurs when writing to streamEncodingException - If an error occurs when creating elements to be writtenprotected void writeAddtitionalNamespaces()
throws XMLStreamException
writeAddtitionalNamespaces in class AbstractOmV20XmlStreamWriterXMLStreamExceptionprotected void checkAndWriteIdentifier()
throws EncodingException,
XMLStreamException
checkAndWriteIdentifier in class AbstractOmV20XmlStreamWriterEncodingExceptionXMLStreamExceptionprotected void checkAndWriteName()
throws EncodingException,
XMLStreamException
checkAndWriteName in class AbstractOmV20XmlStreamWriterEncodingExceptionXMLStreamExceptionprotected void checkAndWriteDescription()
throws XMLStreamException
checkAndWriteDescription in class AbstractOmV20XmlStreamWriterXMLStreamExceptionprotected Optional<String> getDefaultFeatureEncodingNamespace()
getDefaultFeatureEncodingNamespace in class AbstractOmV20XmlStreamWriterCopyright © 2016–2017 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.