public class WmlTDREncoderv20XmlStreamWriter extends AbstractOmV20XmlStreamWriter
AbstractOmV20XmlStreamWriter
to write WaterML 2.0
Domain Range encoded OmObservation
s to streamindent, out, XML_FRAGMENT, XML_VERSION
Constructor and Description |
---|
WmlTDREncoderv20XmlStreamWriter()
constructor
|
WmlTDREncoderv20XmlStreamWriter(OmObservation observation)
constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeResult(OmObservation observation,
EncodingValues encodingValues)
write om:result to stream
|
getDocumentAdditionalHelperValues, getTimeString, write, write, write, write, writeDescription, writeFeatureOfIntererst, writeIdentifier, writeObservableProperty, writeObservationType, writeOmObservationDoc, writeParameter, writePhenomenonTime, writeProcedure, writeResultTime
attr, attr, attr, chars, empty, end, end, endInline, finish, flush, getXmlWriter, init, namespace, start, start
addXlinkHrefAttr, addXlinkTitleAttr, getOutputStream, getReplacement, getXmlOutputFactory, init, init, init, rawText, schemaLocation, time, time, writeIndent, writeNewLine, writeXmlObject
public WmlTDREncoderv20XmlStreamWriter()
public WmlTDREncoderv20XmlStreamWriter(OmObservation observation)
observation
- OmObservation
to write to streamprotected void writeResult(OmObservation observation, EncodingValues encodingValues) throws XMLStreamException, OwsExceptionReport
AbstractOmV20XmlStreamWriter
writeResult
in class AbstractOmV20XmlStreamWriter
observation
- OmObservation
with the result to writeencodingValues
- EncodingValues
contains the result element namespaceXMLStreamException
- If an error occurs when writing to streamOwsExceptionReport
- If an error occurs when creating elements to be writtenCopyright © 2012-2014 52north.org. All Rights Reserved.