public static Unmarshaller createUnmarshaller() throws JAXBException {
        Unmarshaller m = getContext().createUnmarshaller();
        m.setEventHandler(new XmlValidationHandler());
        return m;
    }
public static Unmarshaller createUnmarshaller() throws JAXBException {
        Unmarshaller m = getContext().createUnmarshaller();
        m.setEventHandler(new XmlValidationHandler());
        return m;
    }
public static Unmarshaller createUnmarshaller ( ) throws JAXBException { Unmarshaller m = getContext ( ) . createUnmarshaller ( ) ; m . setEventHandler ( new XmlValidationHandler ( ) ) ; return m ; }
Creates a {@link Unmarshaller} to read JAXB objects from XML.

@return created unmarshaller
@throws JAXBException if a problem with JAXB occurred
Creates a { @link Unmarshaller } to read JAXB objects from XML .