Marshalling and Unmarshalling by the JAXB
JAXB로 마샬링과 언마샬링 하려면 JAXB 클래스가 있어야 함JAXB 클래스는 .xsd라고 XML 스키마가 정의된 파일을 xjc 툴로 자동 생성함(.xsd 파일은 어디선가 받겠죠~!).xsd가 있는 경로에서 "xjc -d . *"를 실행하면 JAXB 클래스가 생성됨, 좀더 디테일한 설정은 Help 참조(xjc -d . * -p com.company.sub)마샤링과 언마샬링은 아래 소스 코드 참고 public class JaxbConvertor {private static JaxbConvertor mSingleton = null;private JAXBContext mJAXBContext = null; private JaxbConvertor()throws JAXBException {mJAXBContext ..
TIL/Java
2016. 11. 15. 18:02
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Spring
- DB
- Programming
- C/C++
- springboot
- AVIOContext
- development
- fluentd
- programmer
- oid
- ffmpeg
- DATABASE
- onbeforeunload
- jdk6
- elasticsearch
- springjpa
- Rolling-Restart
- jdk7
- Java
- springframework
- HLS
- CentOS
- popupWindow
- HTTP Live Streaming
- JAXB
- libavformat
- HDFS
- JDK21
- JPA
- Virtual Thread
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함