protected void writeAddtitionalNamespaces() throws XMLStreamException { super.writeAddtitionalNamespaces(); namespace(InspireOMSOConstants.NS_OMSO_PREFIX, InspireOMSOConstants.NS_OMSO_30); } }
@Override public void write() throws XMLStreamException, EncodingException { start(); writeObservation(getElement()); end(); finish(); }
@Override public void write() throws XMLStreamException, EncodingException { start(); writeRelatedOfferingsDoc(); end(); finish(); }
@Override public void write() throws XMLStreamException, EncodingException { start(); writeGetDataAvailabilityResponse(); end(); finish(); }
private void writeSweText(String definition, String value) throws XMLStreamException { start(SweConstants.QN_TEXT_SWE_200); attr(AN_DEFINITION, definition); writeSweValue(value); end(SweConstants.QN_TEXT_SWE_200); }
@Override public void write() throws XMLStreamException, EncodingException { start(); writeGetDataAvailabilityResponse(); end(); finish(); }
protected void writeValidTime(TimePeriod validTime) throws EncodingException, XMLStreamException { start(OmConstants.QN_OM_20_VALID_TIME); writeTimeContent(validTime); end(OmConstants.QN_OM_20_VALID_TIME); }
private void encodeTime(Time v) throws XMLStreamException, EncodingException { if (v instanceof TimePeriod) { encodeTimePeriod((TimePeriod) v); } else if (v instanceof TimeInstant) { encodeTimeInstant((TimeInstant) v); } }
/** * Write characters to stream. * * @param chars Characters to write * * @throws XMLStreamException If an error occurs when writing to {@link OutputStream} */ protected void chars(String chars) throws XMLStreamException { chars(chars, true); }
/** * Initializ a new {@link WriteTimerTask} */ private void initTimer() { timerTask = new WriteTimerTask(); }
@Override public void write() throws XMLStreamException, EncodingException { start(); writeObservation(getElement()); end(); finish(); }
protected void writeAddtitionalNamespaces() throws XMLStreamException { super.writeAddtitionalNamespaces(); namespace(InspireOMSOConstants.NS_OMSO_PREFIX, InspireOMSOConstants.NS_OMSO_30); } }
private void encodeTime(Time v) throws XMLStreamException, EncodingException { if (v instanceof TimePeriod) { encodeTimePeriod((TimePeriod) v); } else if (v instanceof TimeInstant) { encodeTimeInstant((TimeInstant) v); } }