/** Returns the value. */ public String getText() throws OMException { if (charArray != null || this.value != null) { return getTextFromProperPlace(); } else { try { return Base64Utils.encode((DataHandler) getDataHandler()); } catch (Exception e) { throw new OMException(e); } } }