use of org.n52.svalbard.encode.json.EReportingHeaderJSONEncoder in project arctic-sea by 52North.
the class AbstractEReportingHeaderCoding method getEncoder.
protected EReportingHeaderJSONEncoder getEncoder() {
EncoderRepository encoderRepository = new EncoderRepository();
EReportingHeaderJSONEncoder eReportingHeaderJSONEncoder = new EReportingHeaderJSONEncoder();
eReportingHeaderJSONEncoder.setEncoderRepository(encoderRepository);
EReportingChangeJSONEncoder eReportingChangeJSONEncoder = new EReportingChangeJSONEncoder();
eReportingChangeJSONEncoder.setEncoderRepository(encoderRepository);
InspireIDJSONEncoder inspireIDJSONEncoder = new InspireIDJSONEncoder();
inspireIDJSONEncoder.setEncoderRepository(encoderRepository);
NillableJSONEncoder nillableJSONEncoder = new NillableJSONEncoder();
nillableJSONEncoder.setEncoderRepository(encoderRepository);
IterableJSONEncoder iterableJSONEncoder = new IterableJSONEncoder();
iterableJSONEncoder.setEncoderRepository(encoderRepository);
RelatedPartyJSONEncoder relatedPartyJSONEncoder = new RelatedPartyJSONEncoder();
relatedPartyJSONEncoder.setEncoderRepository(encoderRepository);
ContactJSONEncoder contactJSONEncoder = new ContactJSONEncoder();
contactJSONEncoder.setEncoderRepository(encoderRepository);
AddressJSONEncoder addressJSONEncoder = new AddressJSONEncoder();
addressJSONEncoder.setEncoderRepository(encoderRepository);
GeographicNameJSONEncoder geographicNameJSONEncoder = new GeographicNameJSONEncoder();
geographicNameJSONEncoder.setEncoderRepository(encoderRepository);
CodeTypeJSONEncoder codeTypeJSONEncoder = new CodeTypeJSONEncoder();
codeTypeJSONEncoder.setEncoderRepository(encoderRepository);
StringJSONEncoder stringJSONEncoder = new StringJSONEncoder();
stringJSONEncoder.setEncoderRepository(encoderRepository);
PronunciationJSONEncoder pronunciationJSONEncoder = new PronunciationJSONEncoder();
pronunciationJSONEncoder.setEncoderRepository(encoderRepository);
URIJSONEncoder uriJSONEncoder = new URIJSONEncoder();
uriJSONEncoder.setEncoderRepository(encoderRepository);
SpellingJSONEncoder spellingJSONEncoder = new SpellingJSONEncoder();
spellingJSONEncoder.setEncoderRepository(encoderRepository);
ReferenceJSONEncoder referenceJSONEncoder = new ReferenceJSONEncoder();
referenceJSONEncoder.setEncoderRepository(encoderRepository);
PTFreeTextJSONEncoder ptFreeTextJSONEncoder = new PTFreeTextJSONEncoder();
ptFreeTextJSONEncoder.setEncoderRepository(encoderRepository);
ReferenceableJSONEncoder referenceableJSONEncoder = new ReferenceableJSONEncoder();
referenceableJSONEncoder.setEncoderRepository(encoderRepository);
TimeJSONEncoder timeJSONEncoder = new TimeJSONEncoder();
timeJSONEncoder.setEncoderRepository(encoderRepository);
encoderRepository.setEncoders(Arrays.asList(eReportingHeaderJSONEncoder, eReportingChangeJSONEncoder, inspireIDJSONEncoder, nillableJSONEncoder, iterableJSONEncoder, relatedPartyJSONEncoder, contactJSONEncoder, addressJSONEncoder, geographicNameJSONEncoder, codeTypeJSONEncoder, stringJSONEncoder, pronunciationJSONEncoder, uriJSONEncoder, spellingJSONEncoder, referenceJSONEncoder, ptFreeTextJSONEncoder, referenceableJSONEncoder, timeJSONEncoder));
encoderRepository.init();
return eReportingHeaderJSONEncoder;
}
Aggregations