Package org.n52.svalbard.write
Class EReportingHeaderEncoder
java.lang.Object
org.n52.svalbard.write.XmlStreamWriter<EReportingHeader>
org.n52.svalbard.write.EReportingHeaderEncoder
-
Field Summary
Fields inherited from class org.n52.svalbard.write.XmlStreamWriter
XML_FRAGMENT -
Constructor Summary
ConstructorsConstructorDescriptionEReportingHeaderEncoder(EncodingContext context, OutputStream outputStream, EReportingHeader element) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidencodeNillableCodeType(QName qn, Nillable<CodeType> v) protected voidencodeNillableFreeText(QName qn, Nillable<PT_FreeText> nillable) protected voidprotected voidprotected voidprotected voidencodeNillableSpelling(QName qn, Nillable<Spelling> v) protected voidencodeNillableString(QName qn, Nillable<?> v) protected voidencodePronunciationOfName(Pronunciation pronunciation) protected voidencodeSpellingOfName(Spelling spelling) protected voidencodeString(QName qn, String v) protected voidencodeTimeString(org.joda.time.DateTime time, Time.TimeFormat format) protected Stringvoidwrite()Encode and write element to theOutputStream.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, writeXmlObject, writeXmlObject
-
Constructor Details
-
EReportingHeaderEncoder
public EReportingHeaderEncoder(EncodingContext context, OutputStream outputStream, EReportingHeader element) throws XMLStreamException - Throws:
XMLStreamException
-
-
Method Details
-
write
Description copied from class:XmlStreamWriterEncode and write element to theOutputStream.- Specified by:
writein classXmlStreamWriter<EReportingHeader>- Throws:
XMLStreamException- If an error occurs when writing toOutputStreamEncodingException- If an encoding error occurs
-
getGMLId
-
attr
- Throws:
XMLStreamException
-
encodeNillableString
- Throws:
XMLStreamException
-
encodeString
- Throws:
XMLStreamException
-
encodeNillableFreeText
protected void encodeNillableFreeText(QName qn, Nillable<PT_FreeText> nillable) throws XMLStreamException - Throws:
XMLStreamException
-
encodeContact
- Throws:
XMLStreamException
-
encodeNillableGeographicalName
protected void encodeNillableGeographicalName(QName qn, Nillable<GeographicalName> v) throws XMLStreamException - Throws:
XMLStreamException
-
encodeNillableReference
- Throws:
XMLStreamException
-
encodeNillableCodeType
- Throws:
XMLStreamException
-
encodeNillablePronunciation
protected void encodeNillablePronunciation(QName qn, Nillable<Pronunciation> v) throws XMLStreamException - Throws:
XMLStreamException
-
encodePronunciationOfName
- Throws:
XMLStreamException
-
encodeNillableSpelling
- Throws:
XMLStreamException
-
encodeSpellingOfName
- Throws:
XMLStreamException
-
encodeTimeString
protected void encodeTimeString(org.joda.time.DateTime time, Time.TimeFormat format) throws XMLStreamException, EncodingException - Throws:
XMLStreamExceptionEncodingException
-