{"id":37028286,"url":"https://github.com/lib16/xml-builder-java","last_synced_at":"2026-01-14T03:22:35.719Z","repository":{"id":57726141,"uuid":"64010520","full_name":"lib16/xml-builder-java","owner":"lib16","description":"lib16 XML Builder for Java 8 is a library for creating XML documents.","archived":false,"fork":false,"pushed_at":"2016-09-15T21:54:10.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-07-26T22:21:34.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lib16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-23T10:04:23.000Z","updated_at":"2021-01-16T17:29:54.000Z","dependencies_parsed_at":"2022-09-17T14:31:00.918Z","dependency_job_id":null,"html_url":"https://github.com/lib16/xml-builder-java","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"purl":"pkg:github/lib16/xml-builder-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fxml-builder-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fxml-builder-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fxml-builder-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fxml-builder-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lib16","download_url":"https://codeload.github.com/lib16/xml-builder-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fxml-builder-java/sbom","scorecard":{"id":587767,"data":{"date":"2025-08-11","repo":{"name":"github.com/lib16/xml-builder-java","commit":"a492c25bb2c50202f423e92fc947ea18c11e4224"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/15 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T21:02:22.645Z","repository_id":57726141,"created_at":"2025-08-20T21:02:22.646Z","updated_at":"2025-08-20T21:02:22.646Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-01-14T03:22:35.131Z","updated_at":"2026-01-14T03:22:35.709Z","avatar_url":"https://github.com/lib16.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lib16 XML Builder for Java 8\n\n## Dependency Information\n\n```java\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.lib16\u003c/groupId\u003e\n    \u003cartifactId\u003exml-builder\u003c/artifactId\u003e\n    \u003cversion\u003e1.1.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\nSee also http://search.maven.org/#artifactdetails|com.lib16|xml-builder|1.1.2|jar\n\n## Basic Example\n\n```java\npackage com.lib16.java.example.kml;\n\nimport com.lib16.java.xml.XmlProperties;\n\npublic class KmlProperties extends XmlProperties\n{\n    @Override\n    public String getFilenameExtension()\n    {\n        return \"kml\";\n    }\n\n    @Override\n    public String getMimeType()\n    {\n        return \"application/vnd.google-earth.kml+xml\";\n    }\n    \n    @Override\n    public String getXmlNamespace()\n    {\n        return \"http://www.opengis.net/kml/2.2\";\n    }\n}\n```\n\n```java\npackage com.lib16.java.example.kml;\n\nimport com.lib16.java.xml.Language;\nimport com.lib16.java.xml.Xml;\n\npublic final class Kml implements Language\n{\n    private Xml xml;\n\n    private Kml(Xml xml)\n    {\n        this.xml = xml;\n    }\n\n    public static Kml createKml(KmlProperties properties)\n    {\n        if (properties == null) {\n            properties = new KmlProperties();\n        }\n        return new Kml(Xml.createRoot(\"kml\", properties));\n    }\n\n    public static Kml createKml()\n    {\n        return createKml(null);\n    }\n\n    public Kml placemark(String name, String description,\n            Number longitude, Number latitude, Number altitude)\n    {\n        Kml pm = new Kml(xml.append(\"Placemark\"));\n        pm.xml.append(\"name\", name);\n        pm.xml.append(\"description\", description);\n        pm.xml.append(\"Point\").append(\"coordinates\", longitude + \",\" + latitude + \",\" + altitude);\n        return pm;\n    }\n\n    public Kml placemark(String name, String description, Number longitude, Number latitude)\n    {\n        return placemark(name, description, longitude, latitude, 0);\n    }\n\n    @Override\n    public Xml getXml() {\n        return xml;\n    }\n}\n```\n\n```java\npackage com.lib16.java.example.kml;\n\npublic class KmlDemo\n{\n    public static void main(String[] args) {\n        Kml myKml = Kml.createKml();\n        myKml.placemark(\"Cologne Cathedral\",\n                \"Cologne Cathedral is a Roman Catholic cathedral in Cologne, Germany.\",\n                50.9413, 6.958);\n        System.out.print(myKml.getXml().toString());\n    }\n}\n```\n\nThe generated markup:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" ?\u003e\n\u003ckml xmlns=\"http://www.opengis.net/kml/2.2\"\u003e\n    \u003cPlacemark\u003e\n        \u003cname\u003eCologne Cathedral\u003c/name\u003e\n        \u003cdescription\u003eCologne Cathedral is a Roman Catholic cathedral in Cologne, Germany.\u003c/description\u003e\n        \u003cPoint\u003e\n            \u003ccoordinates\u003e50.9413,6.958,0\u003c/coordinates\u003e\n        \u003c/Point\u003e\n    \u003c/Placemark\u003e\n\u003c/kml\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flib16%2Fxml-builder-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flib16%2Fxml-builder-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flib16%2Fxml-builder-java/lists"}