Class JenaXMLFileUpload

    • Constructor Detail

      • JenaXMLFileUpload

        public JenaXMLFileUpload()
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse resp)
                    throws javax.servlet.ServletException,
                           IOException
        Each file will be converted to RDF/XML and loaded to the target model. If any of the files fail, no data will be loaded. parameters: targetModel - model to save to defaultNamespace - namespace to use for elements in xml that lack a namespace
        Overrides:
        doPost in class VitroHttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws javax.servlet.ServletException,
                          IOException
        Description copied from class: VitroHttpServlet
        doGet does nothing.
        Overrides:
        doGet in class JenaIngestController
        Throws:
        javax.servlet.ServletException
        IOException