WisItUtils { public synchronized static JAXBContext getContext() throws JAXBException { if (JAXB == null) initContext(Thread.currentThread().getContextClassLoader()); return JAXB; } private  WisItUtils(); static WisItDocument createDocument(InputStream input); static WisItDocument createDocument(File xmlFile); static WisItDocument createDocument(String xmlString); static WisItDocument createDocument(Document doc); @SuppressWarnings("unused") static Marshaller createMarshaller(); @SuppressWarnings("Duplicates") static Marshaller createMarshaller(String encoding, boolean formatted); static Unmarshaller createUnmarshaller(); synchronized static JAXBContext getContext(); static DateFormat getDateTimeFormat(); synchronized static ObjectFactory getFactory(); synchronized static void initContext(ClassLoader classloader); static Calendar parseDateTime(String value); static BigDecimal parseDecimal(String value); static BigDecimal parseDouble(String value); static BigInteger parsePositiveInteger(String value); static Boolean parseYesNo(String value); static String printDateTime(Calendar value); static String printDecimal(BigDecimal value); static String printDouble(BigDecimal value); static String printPositiveInteger(BigInteger value); static String printYesNo(Boolean value); @SuppressWarnings("unused")
    final static String NAMESPACE; @SuppressWarnings("unused")
    final static String PACKAGE; }
@Test public void testGetContext() { try { Assert.assertNotNull("JAXB context must be creatable.", WisItUtils.getContext()); } catch (Exception ex) { LOGGER.error("Test of TrovitUtils.getContext failed!"); LOGGER.error("> " + ex.getLocalizedMessage(), ex); Assert.fail("Test of TrovitUtils.getContext failed!"); } }