this.xmlType = xmlType; this.javaType = javaType;
try { MessageElement msgElem = context.getCurElement(); if (msgElem != null) { Method method = javaType.getMethod("valueOf", new Class[]{String.class}); value = method.invoke(null, new Object[]{msgElem.getValue()}); } } catch (Exception exp) { log.error(Messages.getMessage("exception00"), exp); throw new SAXException(exp); }