Package org.apache.jackrabbit.server.io

Examples of org.apache.jackrabbit.server.io.DefaultHandler


            SlingWebDavServlet.TYPE_NONCOLLECTIONS_DEFAULT);
        final String contentType = OsgiUtil.toString(
            properties.get(SlingWebDavServlet.TYPE_CONTENT),
            SlingWebDavServlet.TYPE_CONTENT_DEFAULT);

        this.delegatee = new DefaultHandler(null, collectionType,
            nonCollectionType, contentType);
    }
View Full Code Here


            config.get(SlingWebDavServlet.TYPE_CONTENT),
            SlingWebDavServlet.TYPE_CONTENT_DEFAULT);

        // share these handlers between the IOManager and the PropertyManager
        DirListingExportHandler dirHandler = new DirListingExportHandler();
        DefaultHandler defaultHandler = new DefaultHandler(null, collectionType,
            nonCollectionType, contentType);
       
        ioManager = new IOManagerImpl();
        ioManager.addIOHandler(dirHandler);
        ioManager.addIOHandler(defaultHandler);
View Full Code Here

        IOHandler[] handlers = ioMgr.getIOHandlers();
        assertNotNull(handlers);
        assertEquals(1, handlers.length);
        assertEquals("org.apache.jackrabbit.server.io.DefaultHandler", handlers[0].getName());
        DefaultHandler dh = (DefaultHandler) handlers[0];
        assertEquals("nt:unstructured", dh.getCollectionNodeType());
        assertEquals("nt:unstructured", dh.getNodeType());
        assertEquals("nt:resource", dh.getContentNodeType());
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.server.io.DefaultHandler

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.