test_class.declarator: parser
test_class.modifier: private
test_class.original_string: private CDAR2Parser parser;
test_class.type: CDAR2Parser
test_class.var_name: parser
test_class.declarator: renderer
test_class.modifier: private
test_class.original_string: private CDAR2Renderer renderer;
test_class.type: CDAR2Renderer
test_class.var_name: renderer
test_class.file: modules/cda/mdht/src/test/java/org/openehealth/ipf/modules/cda/CDAR2ParserTest.java
test_class.identifier: CDAR2ParserTest
test_case.body: @Test
      public void testParseHITSPDocument() throws Exception {
          CDAR2Utils.initHITSPC32();
          InputStream is = getClass().getResourceAsStream(
                  "/builders/content/document/SampleHITSPC32v25Document.xml");
          ClinicalDocument clinicalDocument = parser.parse(is);
          String result = renderer.render(clinicalDocument, (Object[]) null);
          Assert.assertTrue(result.length() > 0);
      }
test_case.class_method_signature: CDAR2ParserTest.testParseHITSPDocument()
test_case.full_signature: @Test public void testParseHITSPDocument()
test_case.identifier: testParseHITSPDocument
test_case.invocations: initHITSPC32 getResourceAsStream getClass parse render assertTrue length
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParseHITSPDocument()
focal_class.file: modules/cda/mdht/src/main/java/org/openehealth/ipf/modules/cda/CDAR2Parser.java
focal_class.identifier: CDAR2Parser
focal_class.interfaces: implements Parser<ClinicalDocument>
focal_class.class_method_signature: CDAR2Parser.parse(String s, Object... options)
focal_class.full_signature: public ClinicalDocument parse(String s, Object... options)
focal_class.identifier: parse
focal_class.modifiers: public
focal_class.parameters: (String s, Object... options)
focal_class.return: ClinicalDocument
focal_class.signature: ClinicalDocument parse(String s, Object... options)
focal_class.class_method_signature: CDAR2Parser.parse(InputStream is, Object... options)
focal_class.full_signature: public ClinicalDocument parse(InputStream is, Object... options)
focal_class.identifier: parse
focal_class.modifiers: public
focal_class.parameters: (InputStream is, Object... options)
focal_class.return: ClinicalDocument
focal_class.signature: ClinicalDocument parse(InputStream is, Object... options)
focal_class.class_method_signature: CDAR2Parser.parse(Source source, Object... options)
focal_class.full_signature: public ClinicalDocument parse(Source source, Object... options)
focal_class.identifier: parse
focal_class.modifiers: public
focal_class.parameters: (Source source, Object... options)
focal_class.return: ClinicalDocument
focal_class.signature: ClinicalDocument parse(Source source, Object... options)
focal_class.class_method_signature: CDAR2Parser.parse(Reader reader, Object... options)
focal_class.full_signature: public ClinicalDocument parse(Reader reader, Object... options)
focal_class.identifier: parse
focal_class.modifiers: public
focal_class.parameters: (Reader reader, Object... options)
focal_class.return: ClinicalDocument
focal_class.signature: ClinicalDocument parse(Reader reader, Object... options)
focal_method.body: public ClinicalDocument parse(String s, Object... options) {
          try {
              return parse(new ByteArrayInputStream(s.getBytes()), options);
          } catch (IOException e) {
              throw new ParseException(e);
          }
      }
focal_method.class_method_signature: CDAR2Parser.parse(String s, Object... options)
focal_method.full_signature: public ClinicalDocument parse(String s, Object... options)
focal_method.identifier: parse
focal_method.invocations: parse getBytes
focal_method.modifiers: public
focal_method.parameters: (String s, Object... options)
focal_method.return: ClinicalDocument
focal_method.signature: ClinicalDocument parse(String s, Object... options)