Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jacquesmilitello/legaldocml


https://github.com/jacquesmilitello/legaldocml

akoma-ntoso java java-8 legaldocml

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# The library for LegalDocML - AkomaNtoso

[![Build Status](https://travis-ci.org/jacquesmilitello/legaldocml.svg?branch=master)](https://travis-ci.org/jacquesmilitello/legaldocml)
[![Quality Gate](https://sonarcloud.io/api/badges/gate?key=io.legaldocml%3Alegaldocml)](https://sonarcloud.io/dashboard?id=io.legaldocml%3Alegaldocml)

## Domain Model
All the XSD is transform to different kind of Object :

### AttributeGroup
```xml

```

This XML fragment will be transform to :
```java
public interface Name extends AknObject {

String getName();

void setName(String name);

}
```

### ComplexType

## IO
All AknObject implements the Externalizable Interface.
```java
public interface Externalizable {
void write(XmlWriter writer) throws IOException;
void read(XmlReader reader);
}
```
### XmlReader

### XmlWriter

## Factory

### Read
```java
XmlReaderFactory factory = XmlProvider.readerFactory();
AkomaNtoso> akn = factory.read(<>>);
```

### Write
```java
XmlWriterFactory factory = XmlProvider.writerFactory(3);
factory.write(<<>>, <<>>);
```

## Business Provider

### Buisiness Builder
TODO
### Business Reader
TODO