code: @SuppressWarnings("unchecked")
      public <T> T fromXml(String xml, boolean caseSensitive) {
          try {
              String fromXml = xml;
              if (!caseSensitive)
                  fromXml = xml.toLowerCase();
              StringReader reader = new StringReader(fromXml);
              return (T) createUnmarshaller().unmarshal(reader);
          } catch (JAXBException e) {
              throw new RuntimeException(e);
          }
      }
docs: Xml->Java Object, 支持大小写敏感或不敏感.