{"id":15044077,"url":"https://github.com/jacquesmilitello/legaldocml","last_synced_at":"2025-04-10T00:42:59.632Z","repository":{"id":57735771,"uuid":"92104373","full_name":"jacquesmilitello/legaldocml","owner":"jacquesmilitello","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-14T22:43:41.000Z","size":3628,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T00:42:52.471Z","etag":null,"topics":["akoma-ntoso","java","java-8","legaldocml"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacquesmilitello.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-22T22:18:56.000Z","updated_at":"2022-12-21T01:51:47.000Z","dependencies_parsed_at":"2025-02-16T05:32:25.941Z","dependency_job_id":"bd5c6123-fecc-4444-a58d-44caec092414","html_url":"https://github.com/jacquesmilitello/legaldocml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacquesmilitello%2Flegaldocml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacquesmilitello%2Flegaldocml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacquesmilitello%2Flegaldocml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacquesmilitello%2Flegaldocml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacquesmilitello","download_url":"https://codeload.github.com/jacquesmilitello/legaldocml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137998,"owners_count":21053775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["akoma-ntoso","java","java-8","legaldocml"],"created_at":"2024-09-24T20:50:02.691Z","updated_at":"2025-04-10T00:42:59.615Z","avatar_url":"https://github.com/jacquesmilitello.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The library for LegalDocML - AkomaNtoso\n\n[![Build Status](https://travis-ci.org/jacquesmilitello/legaldocml.svg?branch=master)](https://travis-ci.org/jacquesmilitello/legaldocml)\n[![Quality Gate](https://sonarcloud.io/api/badges/gate?key=io.legaldocml%3Alegaldocml)](https://sonarcloud.io/dashboard?id=io.legaldocml%3Alegaldocml)\n\n## Domain Model\nAll the XSD is transform to different kind of Object : \n\n### AttributeGroup\n```xml\n\u003cxsd:attributeGroup name=\"name\"\u003e\n   \u003cxsd:attribute name=\"name\" type=\"xsd:string\" use=\"required\"/\u003e\n\u003c/xsd:attributeGroup\u003e\n```\n\nThis XML fragment will be transform to :\n```java\npublic interface Name extends AknObject {\n\n    String getName();\n\n    void setName(String name);\n\n}\n```\n\n### ComplexType\n\n## IO\nAll AknObject implements the Externalizable Interface.\n```java\npublic interface Externalizable {\n    void write(XmlWriter writer) throws IOException;\n    void read(XmlReader reader);\n}\n```\n### XmlReader\n\n### XmlWriter\n\n## Factory\n\n### Read\n```java\nXmlReaderFactory factory = XmlProvider.readerFactory();\nAkomaNtoso\u003c?\u003e akn = factory.read(\u003c\u003cMappedByteBuffer\u003e\u003e\u003e);\n```\n\n### Write\n```java\nXmlWriterFactory factory = XmlProvider.writerFactory(3);\nfactory.write(\u003c\u003c\u003cWritableByteChannel\u003e\u003e\u003e, \u003c\u003c\u003cAkomaNtoso\u003e\u003e\u003e);\n```\n\n## Business Provider\n\n### Buisiness Builder\nTODO\n### Business Reader\nTODO","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacquesmilitello%2Flegaldocml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacquesmilitello%2Flegaldocml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacquesmilitello%2Flegaldocml/lists"}