Package org.n52.svalbard.write
Class OmV20XmlStreamWriter
java.lang.Object
org.n52.svalbard.write.XmlStreamWriter<OmObservation>
org.n52.svalbard.write.AbstractOmV20XmlStreamWriter
org.n52.svalbard.write.OmV20XmlStreamWriter
- Direct Known Subclasses:
GwmlV22XmlStreamWriter
Implementation of
AbstractOmV20XmlStreamWriter to write O&M 2.0
encoded OmObservations to stream- Since:
- 1.0.0
-
Field Summary
Fields inherited from class org.n52.svalbard.write.XmlStreamWriter
XML_FRAGMENT -
Constructor Summary
ConstructorsConstructorDescriptionOmV20XmlStreamWriter(EncodingContext context, OutputStream outputStream, OmObservation element) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidMethods inherited from class org.n52.svalbard.write.AbstractOmV20XmlStreamWriter
check, checkAndWriteDescription, checkAndWriteIdentifier, checkAndWriteName, getDocumentAdditionalHelperValues, getDocumentName, getTimeString, write, writeDescription, writeFeatureOfIntererst, writeIdentifier, writeMetadata, writeMetaDataProperty, writeName, writeObservableProperty, writeObservation, writeObservationType, writeParameter, writePhenomenonTime, writeProcedure, writeResult, writeResultTime, writeValidTimeMethods inherited from class org.n52.svalbard.write.XmlStreamWriter
addXlinkHrefAttr, 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, writeXmlObject
-
Constructor Details
-
OmV20XmlStreamWriter
public OmV20XmlStreamWriter(EncodingContext context, OutputStream outputStream, OmObservation element) throws XMLStreamException - Throws:
XMLStreamException
-
-
Method Details
-
getDefaultFeatureEncodingNamespace
- Specified by:
getDefaultFeatureEncodingNamespacein classAbstractOmV20XmlStreamWriter
-
writeAddtitionalNamespaces
- Specified by:
writeAddtitionalNamespacesin classAbstractOmV20XmlStreamWriter- Throws:
XMLStreamException
-