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
-
Field Summary
Fields inherited from class org.n52.svalbard.write.XmlStreamWriter
XML_FRAGMENT -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSwesXmlStreamWriter(EncodingContext context, OutputStream outputStream, T element) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
AbstractSwesXmlStreamWriter
public AbstractSwesXmlStreamWriter(EncodingContext context, OutputStream outputStream, T element) throws XMLStreamException - Throws:
XMLStreamException
-
-
Method Details
-
writeExtensions
- 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
-