Citation:
<?xml version="1.0" encoding="utf-8"?>
<oryxmodel>
<description></description>
<type>BPRIM</type>
<json-representation><![CDATA[{"resourceId":"canvas","properties":{"title":"","description":"","documentation":""},"stencil":{"id":"BPRIMDiagram"},"childShapes":[{"resourceId":"sid-BF27C908-CBEE-499B-A39F-CC1D0F88A7E6","properties":{"title":"Classe de risque 1","description":"","documentation":"","bgcolor":"#96ff96"},"stencil":{"id":"newClasseRisque"},"childShapes":[],"outgoing":[{"resourceId":"sid-4C61D41E-7B33-4B12-B5B4-931B9C6B6461"}],"bounds":{"lowerRight":{"x":375,"y":170},"upperLeft":{"x":275,"y":120}},"dockers":[]},{"resourceId":"sid-25FE42BF-B13A-4EBA-B397-F1A30F061C0C","properties":{"title":"Classe de risque 2","description":"","documentation":"","bgcolor":"#96ff96"},"stencil":{"id":"newClasseRisque"},"childShapes":[],"outgoing":[],"bounds":{"lowerRight":{"x":385,"y":515},"upperLeft":{"x":285,"y":465}},"dockers":[]},{"resourceId":"sid-4C61D41E-7B33-4B12-B5B4-931B9C6B6461","properties":{"name":"Relation entre les 2 classes de risques","probability":""},"stencil":{"id":"agregation"},"childShapes":[],"outgoing":[{"resourceId":"sid-25FE42BF-B13A-4EBA-B397-F1A30F061C0C"}],"bounds":{"lowerRight":{"x":334.58040166131303,"y":480.5238573152998},"upperLeft":{"x":325.59537958868697,"y":170.54059580970022}},"dockers":[{"x":50,"y":30},{"x":50,"y":30}],"target":{"resourceId":"sid-25FE42BF-B13A-4EBA-B397-F1A30F061C0C"}}],"bounds":{"lowerRight":{"x":1485,"y":1050},"upperLeft":{"x":0,"y":0}},"stencilset":{"url":"/signaviocore/editor/stencilsets//BPRIM/BPRIM.json","namespace":"http://b3mn.org/stencilset/BPRIM#"},"ssextensions":[]}]]></json-representation>
<svg-representation>... blabla ...</svg-representation>
</oryxmodel>
Comment dans un fichier JAVA parser ce fichier et récupérer le DOM correspondant à la structure JSON soit le contenu de la balise <json-representation> ?