https://github.com/tyrcho/java-xml-serialization-demo
https://github.com/tyrcho/java-xml-serialization-demo
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tyrcho/java-xml-serialization-demo
- Owner: tyrcho
- Created: 2018-02-08T10:07:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-08T10:08:38.000Z (almost 8 years ago)
- Last Synced: 2025-02-13T00:29:43.519Z (10 months ago)
- Language: Java
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Sample project for basic, pure Java, serialization of XML files
### Usage
run maven to generate the java types related to your xsd files
(the xjc plugins looks for xsd files in `src/main/xsd`)
mvn jaxb2:xjc
Files are generated in `target/generated-sources`
You can configure the target package in the `pom.xml` file.
Then run the `main` from `XmlSerializationDemo`
## See also