Package org.openehealth.ipf.modules.cda
Class CDAR2Parser
java.lang.Object
org.openehealth.ipf.modules.cda.CDAR2Parser
- All Implemented Interfaces:
Parser<org.openhealthtools.mdht.uml.cda.ClinicalDocument>
public class CDAR2Parser
extends Object
implements Parser<org.openhealthtools.mdht.uml.cda.ClinicalDocument>
- Author:
- Stefan Ivanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.openhealthtools.mdht.uml.cda.ClinicalDocument
parse
(InputStream is, Object... options) Parses aClinicalDocument
from anInputStream
.org.openhealthtools.mdht.uml.cda.ClinicalDocument
Parses a message and returns an internal representation of the information.org.openhealthtools.mdht.uml.cda.ClinicalDocument
Parses a message and returns an internal representation of the information.org.openhealthtools.mdht.uml.cda.ClinicalDocument
Parses a message and returns an internal representation of the information.
-
Constructor Details
-
CDAR2Parser
public CDAR2Parser()
-
-
Method Details
-
parse
Description copied from interface:Parser
Parses a message and returns an internal representation of the information. -
parse
Parses aClinicalDocument
from anInputStream
. This parser is not vulnerable to XXE injections. Parsing an XML document with a Doctype will throw aParseException
and all <include xmlns="http://www.w3.org/2001/XInclude"/gt; tags will be striped.The MDHT parser is unsafe, so the clinical document is parsed to a
Document
here before being passed to MDHT. -
parse
Description copied from interface:Parser
Parses a message and returns an internal representation of the information. -
parse
Description copied from interface:Parser
Parses a message and returns an internal representation of the information.
-