Package org.n52.svalbard.write
Class AbstractSwesXmlStreamWriter<T>
- java.lang.Object
-
- org.n52.svalbard.write.XmlStreamWriter<T>
-
- org.n52.svalbard.write.AbstractSwesXmlStreamWriter<T>
-
- Direct Known Subclasses:
GetFeatureOfInterestXmlStreamWriter,GetObservationResponseXmlStreamWriter
public abstract class AbstractSwesXmlStreamWriter<T> extends XmlStreamWriter<T>
-
-
Field Summary
-
Fields inherited from class org.n52.svalbard.write.XmlStreamWriter
XML_FRAGMENT
-
-
Constructor Summary
Constructors Constructor Description AbstractSwesXmlStreamWriter(EncodingContext context, OutputStream outputStream, T element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.xmlbeans.XmlObjectencodeGml(EncodingContext ctx, Object o)protected org.apache.xmlbeans.XmlObjectencodeSwe(EncodingContext ctx, Object o)protected voidwriteExtension(SweAbstractDataComponent sweAbstractDataComponent)protected voidwriteExtensions(Extensions extensions)-
Methods 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, write, writeXmlObject, writeXmlObject
-
-
-
-
Constructor Detail
-
AbstractSwesXmlStreamWriter
public AbstractSwesXmlStreamWriter(EncodingContext context, OutputStream outputStream, T element) throws XMLStreamException
- Throws:
XMLStreamException
-
-
Method Detail
-
writeExtensions
protected void writeExtensions(Extensions extensions) throws XMLStreamException, EncodingException
- Throws:
XMLStreamExceptionEncodingException
-
writeExtension
protected void writeExtension(SweAbstractDataComponent sweAbstractDataComponent) throws EncodingException, XMLStreamException
- Throws:
EncodingExceptionXMLStreamException
-
encodeSwe
protected org.apache.xmlbeans.XmlObject encodeSwe(EncodingContext ctx, Object o) throws EncodingException
- Throws:
EncodingException
-
encodeGml
protected org.apache.xmlbeans.XmlObject encodeGml(EncodingContext ctx, Object o) throws EncodingException
- Throws:
EncodingException
-
-