-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6462ae2
commit 1e1741c
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
:toc: macro | ||
:toc-title: Read more: | ||
:toclevels: 3 | ||
|
||
|
||
= Digipost XML | ||
|
||
Toolset helping with some of the cumbersome XML APIs of the JDK. | ||
|
||
Digipost XML consists of the following three libraries: | ||
|
||
- digipost-xml-*fundamentals*: offers some ergonomics on top of the standard XML APIs in the JDK. The baseline JDK requirement for this is Java 8, and there are not additional dependencies. | ||
- digipost-xml-*bind-jakarta*: JAXB facilities, inspired by Spring OXM, and in addition contains a library of some useful adapters and other JAXB-related stuff. | ||
- digipost-xml-*bind-javax*: This is identical to the above, but for the legacy `javax.xml.bind` namespace. It is, contrary to popular belief, possible to use these two JAXB variants side-by-side, should you need to, thanks to the almighty https://github.com/digipost/jaxb-resolver-com.sun.xml.bind[jaxb-resolver-com.sun.xml.bind]. | ||
|
||
toc::[] | ||
|
||
== How to use | ||
|
||
Declare the following in your `dependencyManagement` section | ||
|
||
[,xml] | ||
---- | ||
<dependencyManagement> | ||
<dependency> | ||
<groupId>no.digipost.xml</groupId> | ||
<artifactId>digipost-xml-bom</artifactId> | ||
<version>[latest-version]</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
... | ||
</dependencyManagement> | ||
---- | ||
|
||
And depend on the part(s) you need. E.g: | ||
|
||
[,xml] | ||
---- | ||
<dependency> | ||
<groupId>no.digipost.xml</groupId> | ||
<artifactId>digipost-xml-fundamentals</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>no.digipost.xml</groupId> | ||
<artifactId>digipost-xml-bind-jakarta</artifactId> | ||
</dependency> | ||
---- | ||
|
||
== Digipost XML Fundamentals | ||
|
||
TODO | ||
|
||
== Digipost XML Bind (JAXB) | ||
|
||
|
||
TODO | ||
|