@Test public void testUnmarshal() throws Exception { for( String srcFile : PREDICTIONS ) { try( InputStream is = getClass().getResourceAsStream( srcFile ) ) { Root root = trackerNetJaxbContext.unmarshall( is ); assertNotNull( "no root from unmarshall", root ); assertNotNull( root.getTime() ); assertNotNull( root.getTime().getTimeStamp() ); System.out.printf( "%s %s\n", srcFile, root.getTime() ); List<Station> stations = root.getStations(); assertFalse( "No stations", stations.isEmpty() ); } } }
public <T> T unmarshall( String s ) throws JAXBException { return jaxb.unmarshall( s ); }
TrackerNetJaxbContext { public <T> T unmarshall( String s ) throws JAXBException { return jaxb.unmarshall( s ); } }
TrackerNetJaxbContext { public <T> T unmarshall( String s ) throws JAXBException { return jaxb.unmarshall( s ); }  }
TrackerNetJaxbContext { public <T> T unmarshall( String s ) throws JAXBException { return jaxb.unmarshall( s ); }  Function<String, Root> fromXML(); Function<Root, String> toXML(); T unmarshall( String s ); String marshall( Root p ); T unmarshall( File f ); T unmarshall( Reader r ); T unmarshall( InputStream is ); void marshall( Object v, File f ); void marshall( Object v, Writer w ); void marshall( Object v, OutputStream os ); }
TrackerNetJaxbContext { public <T> T unmarshall( String s ) throws JAXBException { return jaxb.unmarshall( s ); }  Function<String, Root> fromXML(); Function<Root, String> toXML(); T unmarshall( String s ); String marshall( Root p ); T unmarshall( File f ); T unmarshall( Reader r ); T unmarshall( InputStream is ); void marshall( Object v, File f ); void marshall( Object v, Writer w ); void marshall( Object v, OutputStream os );  }