Package org.fcrepo.server.rest

Examples of org.fcrepo.server.rest.DefaultSerializer


                                   Date versDateTime) throws ServerException {

        // use REST serializer
        Server fedoraServer = Server.getInstance(new File(Constants.FEDORA_HOME), false);
        String fedoraServerHost = fedoraServer.getParameter("fedoraServerHost");
        DefaultSerializer ser = new DefaultSerializer(fedoraServerHost, m_context);
        return ser.objectProfileToXML(objProfile, versDateTime);
    }
View Full Code Here


                                 Date versDateTime) throws ServerException {

        // use REST serializer
        Server fedoraServer = Server.getInstance(new File(Constants.FEDORA_HOME), false);
        String fedoraServerHost = fedoraServer.getParameter("fedoraServerHost");
        DefaultSerializer ser = new DefaultSerializer(fedoraServerHost, m_context);
        return ser.objectMethodsToXml(methods, PID, null, versDateTime);

    }
View Full Code Here

TOP

Related Classes of org.fcrepo.server.rest.DefaultSerializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.