public T transform(Object source, TransformationContext context) { XMLType xmlType = (XMLType) context.getTargetDataType().getLogical(); String text = mapper.toXMLLiteral(xmlType.getTypeName(), source, context); return createElement(xmlType.getElementName(), text, context); }
public T transform(Object source, TransformationContext context) { XMLType xmlType = (XMLType) context.getTargetDataType().getLogical(); String text = mapper.toXMLLiteral(xmlType.getTypeName(), source, context); return createElement(xmlType.getElementName(), text, context); }