public static Api fromXML ( final String xml ) throws Exception { Api result = null ; try { result = apifactory . fromXML ( xml ) ; } catch ( JAXBException je ) { LOGGER . log ( Level . SEVERE , je . getMessage ( ) ) ; LOGGER . log ( Level . INFO , xml ) ; throw je ; } return result ; }
create a Api from an XML string