From 5f5009f418923734b6ee9a534875f897b7fd9cb6 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 28 Nov 2023 10:39:10 +0900 Subject: [PATCH] XML -> JAXB --- .../cokr/xit/interfaces/smg/service/bean/SmgReceiverBean.java | 4 ++-- .../cokr/xit/interfaces/smg/service/bean/SmgSenderBean.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/cokr/xit/interfaces/smg/service/bean/SmgReceiverBean.java b/src/main/java/cokr/xit/interfaces/smg/service/bean/SmgReceiverBean.java index 1d9d922..2f16449 100644 --- a/src/main/java/cokr/xit/interfaces/smg/service/bean/SmgReceiverBean.java +++ b/src/main/java/cokr/xit/interfaces/smg/service/bean/SmgReceiverBean.java @@ -14,7 +14,7 @@ import org.springframework.stereotype.Component; import cokr.xit.base.file.FileInfo; import cokr.xit.base.file.service.bean.FileBean; -import cokr.xit.foundation.data.XML; +import cokr.xit.foundation.data.JAXB; import cokr.xit.foundation.web.WebClient; import cokr.xit.interfaces.filejob.service.bean.FileJobBean; import cokr.xit.interfaces.smg.Petition; @@ -30,7 +30,7 @@ public class SmgReceiverBean extends FileJobBean { @Resource(name = "fileBean") private FileBean fileBean; - private XML xml = new XML(config("charset")); + private JAXB xml = new JAXB(config("charset")); /**국민 신문고 수신 민원 작업 이름(smg-in)을 반환한다. */ diff --git a/src/main/java/cokr/xit/interfaces/smg/service/bean/SmgSenderBean.java b/src/main/java/cokr/xit/interfaces/smg/service/bean/SmgSenderBean.java index 0db042a..7ff5e89 100644 --- a/src/main/java/cokr/xit/interfaces/smg/service/bean/SmgSenderBean.java +++ b/src/main/java/cokr/xit/interfaces/smg/service/bean/SmgSenderBean.java @@ -16,7 +16,7 @@ import javax.annotation.Resource; import org.springframework.stereotype.Component; -import cokr.xit.foundation.data.XML; +import cokr.xit.foundation.data.JAXB; import cokr.xit.foundation.web.WebClient; import cokr.xit.interfaces.filejob.service.bean.FileJobBean; import cokr.xit.interfaces.smg.Petition; @@ -31,7 +31,7 @@ public class SmgSenderBean extends FileJobBean { @Resource(name = "smgMapper") private SmgMapper smgMapper; - private XML xml = new XML(config("charset")); + private JAXB xml = new JAXB(config("charset")); /**국민 신문고 민원 답변/반송 파일 작업 이름(smg-out)을 반환한다. */