Java Utililty Methods XML QName to Jaxb

List of utility methods to do XML QName to Jaxb

Description

The list of methods to do XML QName to Jaxb are organized into topic(s).

Method

List>toJaxb(List values, QName name)
to Jaxb
ArrayList<JAXBElement<String>> result = new ArrayList<>(values.size());
for (String value : values) {
    result.add(new JAXBElement<>(name, String.class, value));
return result;
JAXBElementtoJaxbElement(QName name, T value)
to Jaxb Element
return new JAXBElement<T>(name, (Class<T>) value.getClass(), value);