일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- spark
- Spring Boot
- Linux
- Clean Code
- hadoop
- apache storm
- Spring Batch
- 스프링 배치
- Spring XD
- design pattern
- 엘라스틱서치
- Java
- 일본 백패킹
- hdfs
- 도메인주도설계
- SBT
- 제주
- elastic search
- Angular2
- intellij
- docker
- nginx
- Hbase
- elasticsearch
- DDD
- Storm
- scala
- Spring
- 인텔리J
- Gradle
Archives
- Today
- Total
목록jaxb (1)
욱'S 노트
JAXB - Annotating Classes
Mapping interfaces W3C XML Schema로부터 나온 XML 타입과 자바 타입 시스템의 차이 때문에, JAXB는 인터페이스를 out of box로 바인딩을 하지 못하지만, 몇 가지 요소들을 제공한다. @XmlRootElement 인터페이스가 많은 서브 클래스로 구현된다면 XmlRootElement를 사용하는 것을 고려할 수 있다. @XmlRootElementclass Zoo {@XmlAnyElementpublic List animals;} interface Animal { void sleep();void eat(); ...} @XmlRootElementclass Dog implements Animal { ... } @XmlRootElementclass Lion implements Ani..
Programming/JAXB
2015. 2. 23. 16:18