TrovitUtils { public synchronized static JAXBContext getContext() throws JAXBException { if (JAXB == null) initContext(Thread.currentThread().getContextClassLoader()); return JAXB; } private  TrovitUtils(); static TrovitDocument createDocument(InputStream input); static TrovitDocument createDocument(File xmlFile); static TrovitDocument createDocument(String xmlString); static TrovitDocument createDocument(Document doc); @SuppressWarnings("unused") static Marshaller createMarshaller(); @SuppressWarnings("Duplicates") static Marshaller createMarshaller(String encoding, boolean formatted); static Unmarshaller createUnmarshaller(); synchronized static JAXBContext getContext(); synchronized static ObjectFactory getFactory(); synchronized static void initContext(ClassLoader classloader); static AreaUnitValue parseAreaUnitValue(String value); static Boolean parseBooleanValue(String value); static String parseContentValue(String value); static String parseCountryValue(String value); static Calendar parseDateValue(String value); static BigInteger parseFloorAreaValue(String value); static ForeclosureTypeValue parseForeclosureTypeValue(String value); static BigDecimal parseLatitudeValue(String value); static BigDecimal parseLongitudeValue(String value); static OrientationValue parseOrientationValue(String value); static BigInteger parsePlotAreaValue(String value); static Currency parsePriceCurrencyValue(String value); static PricePeriodValue parsePricePeriodValue(String value); static BigDecimal parsePriceValue(String value); static BigDecimal parseRoomsValue(String value); static URI parseUriValue(String value); static TypeValue parseTypeValue(String value); static BigInteger parseYearValue(String value); static String printAreaUnitValue(AreaUnitValue value); static String printBooleanValue(Boolean value); static String printContentValue(String value); static String printCountryValue(String value); static String printDateValue(Calendar value); static String printFloorAreaValue(BigInteger value); static String printForeclosureTypeValue(ForeclosureTypeValue value); static String printLatitudeValue(BigDecimal value); static String printLongitudeValue(BigDecimal value); static String printOrientationValue(OrientationValue value); static String printPlotAreaValue(BigInteger value); static String printPriceCurrencyValue(Currency value); static String printPricePeriodValue(PricePeriodValue value); static String printPriceValue(BigDecimal value); static String printRoomsValue(BigDecimal value); static String printTypeValue(TypeValue value); static String printUriValue(URI value); static String printYearValue(BigInteger value); @SuppressWarnings("unused")
    final static String NAMESPACE; @SuppressWarnings("unused")
    final static String PACKAGE; @SuppressWarnings("unused")
    final static ObjectFactory FACTORY; }
@Test public void testGetContext() { try { Assert.assertNotNull( "JAXB context must be creatable.", TrovitUtils.getContext()); } catch (Exception ex) { LOGGER.error("Test of TrovitUtils.getContext failed!"); LOGGER.error("> " + ex.getLocalizedMessage(), ex); Assert.fail("Test of TrovitUtils.getContext failed!"); } }