Class JAXBUtils


  • public final class JAXBUtils
    extends Object
    • Constructor Detail

      • JAXBUtils

        public JAXBUtils()
    • Method Detail

      • readObject

        public static <T> T readObject​(String resource,
                                       Class<T> expectedType)
      • readObjectFromString

        public static <T> T readObjectFromString​(String content,
                                                 Class<T> expectedType)
      • readObjectFromInputStream

        public static <T> T readObjectFromInputStream​(InputStream inputStream,
                                                      Class<T> expectedType)
      • xmlEntityToString

        public static <T> String xmlEntityToString​(T entity)