_document = builder.parse(new ByteArrayInputStream(data.getBytes())); _element = _document.getDocumentElement();
Document document = builder.parse(new ByteArrayInputStream(data.getBytes())); _element = document.getDocumentElement();
  public SimpleXMLElementValue(@NotNull String data,                               @Optional String className,                               @Optional int options)  {    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();    try {            DocumentBuilder builder = factory.newDocumentBuilder();      _document = builder.parse(new ByteArrayInputStream(data.getBytes()));      _element = _document.getDocumentElement();          } catch (Exception e) {      log.log(Level.FINE, L.l(e.toString()), e);    }    _className = className;    _options = options;  }