protected void writeValidTime(TimePeriod validTime) throws EncodingException, XMLStreamException { start(OmConstants.QN_OM_20_VALID_TIME); writeTimeContent(validTime); end(OmConstants.QN_OM_20_VALID_TIME); }
protected void writeValidTime(TimePeriod validTime) throws EncodingException, XMLStreamException { start(OmConstants.QN_OM_20_VALID_TIME); writeTimeContent(validTime); end(OmConstants.QN_OM_20_VALID_TIME); }
/** * Write {@link Time} as om:phenomenonTime to stream * * @param time * {@link Time} to write as om:phenomenonTime to stream * * @throws EncodingException * If an error occurs when creating elements to be written * @throws XMLStreamException * If an error occurs when writing to stream */ protected void writePhenomenonTime(Time time) throws EncodingException, XMLStreamException { start(OmConstants.QN_OM_20_PHENOMENON_TIME); writeTimeContent(time); end(OmConstants.QN_OM_20_PHENOMENON_TIME); }
/** * Write {@link Time} as om:phenomenonTime to stream * * @param time * {@link Time} to write as om:phenomenonTime to stream * * @throws EncodingException * If an error occurs when creating elements to be written * @throws XMLStreamException * If an error occurs when writing to stream */ protected void writePhenomenonTime(Time time) throws EncodingException, XMLStreamException { start(OmConstants.QN_OM_20_PHENOMENON_TIME); writeTimeContent(time); end(OmConstants.QN_OM_20_PHENOMENON_TIME); }