test_class.declarator: FILE = "c:\\localdata\\matrix.xml"
test_class.modifier: private static final
test_class.original_string: private static final String FILE = "c:\\localdata\\matrix.xml";
test_class.type: String
test_class.var_name: FILE
test_class.file: jtss/src/test/java/ec/demetra/xml/core/XmlMatrixTest.java
test_class.identifier: XmlMatrixTest
test_case.body: @Test
      @Ignore
      public void testMarshal() throws FileNotFoundException, JAXBException, IOException {
  
          JAXBContext jaxb = JAXBContext.newInstance(XmlMatrix.class);
          Matrix m = new Matrix(5, 8);
          m.set((r, c) -> (r + 1) * (c + 1));
          XmlMatrix xmat = XmlMatrix.getAdapter().marshal(m);
          FileOutputStream ostream = new FileOutputStream(FILE);
          try (OutputStreamWriter writer = new OutputStreamWriter(ostream, StandardCharsets.UTF_8)) {
              Marshaller marshaller = jaxb.createMarshaller();
              marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
              marshaller.marshal(xmat, writer);
              writer.flush();
          }
  
          XmlMatrix rslt = null;
          FileInputStream istream = new FileInputStream(FILE);
          try (InputStreamReader reader = new InputStreamReader(istream, StandardCharsets.UTF_8)) {
              Unmarshaller unmarshaller = jaxb.createUnmarshaller();
              unmarshaller.setSchema(Schemas.Core);
              unmarshaller.setEventHandler(new TestValidationEventHandler());
              rslt = (XmlMatrix) unmarshaller.unmarshal(reader);
              Matrix m2 = XmlMatrix.getAdapter().unmarshal(rslt);
              assertTrue(m.equals(m2, 1e-6));
          }
      }
test_case.class_method_signature: XmlMatrixTest.testMarshal()
test_case.full_signature: @Test @Ignore public void testMarshal()
test_case.identifier: testMarshal
test_case.invocations: newInstance set marshal getAdapter createMarshaller setProperty marshal flush createUnmarshaller setSchema setEventHandler unmarshal unmarshal getAdapter assertTrue equals
test_case.modifiers: @Test @Ignore public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMarshal()
focal_class.declarator: dimensions
focal_class.modifier: @XmlElement(name = "Dimensions")
      @XmlList
      protected
focal_class.original_string: @XmlElement(name = "Dimensions")
      @XmlList
      protected int[] dimensions;
focal_class.type: int[]
focal_class.var_name: dimensions
focal_class.declarator: values
focal_class.modifier: @XmlElement(name = "Values")
      @XmlList
      protected
focal_class.original_string: @XmlElement(name = "Values")
      @XmlList
      protected double[] values;
focal_class.type: double[]
focal_class.var_name: values
focal_class.declarator: ADAPTER=new Adapter()
focal_class.modifier: private static final
focal_class.original_string: private static final Adapter ADAPTER=new Adapter();
focal_class.type: Adapter
focal_class.var_name: ADAPTER
focal_class.file: jtss/src/main/java/ec/demetra/xml/core/XmlMatrix.java
focal_class.identifier: XmlMatrix
focal_class.class_method_signature: XmlMatrix.getDimensions()
focal_class.full_signature: public int[] getDimensions()
focal_class.identifier: getDimensions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int[]
focal_class.signature: int[] getDimensions()
focal_class.class_method_signature: XmlMatrix.setDimensions(int[] dimensions)
focal_class.full_signature: public void setDimensions(int[] dimensions)
focal_class.identifier: setDimensions
focal_class.modifiers: public
focal_class.parameters: (int[] dimensions)
focal_class.return: void
focal_class.signature: void setDimensions(int[] dimensions)
focal_class.class_method_signature: XmlMatrix.getValues()
focal_class.full_signature: public double[] getValues()
focal_class.identifier: getValues
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double[]
focal_class.signature: double[] getValues()
focal_class.class_method_signature: XmlMatrix.setValues(double[] values)
focal_class.full_signature: public void setValues(double[] values)
focal_class.identifier: setValues
focal_class.modifiers: public
focal_class.parameters: (double[] values)
focal_class.return: void
focal_class.signature: void setValues(double[] values)
focal_class.class_method_signature: XmlMatrix.getAdapter()
focal_class.full_signature: public static Adapter getAdapter()
focal_class.identifier: getAdapter
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Adapter
focal_class.signature: Adapter getAdapter()
focal_method.body: public static Adapter getAdapter(){
          return ADAPTER;
      }
focal_method.class_method_signature: XmlMatrix.getAdapter()
focal_method.full_signature: public static Adapter getAdapter()
focal_method.identifier: getAdapter
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: Adapter
focal_method.signature: Adapter getAdapter()