nl.hippo.client.webdav.binding.content
Class DocumentFactory

java.lang.Object
  extended by nl.hippo.client.webdav.binding.content.DocumentFactory

public class DocumentFactory
extends Object

A factory of Documents


Field Summary
static WebdavResponse xslt
           
 
Constructor Summary
DocumentFactory(WebdavConfig config)
           
 
Method Summary
 Document bindDocument(WebdavCacheHandler cache, WebdavResponse response)
           
 DocumentCollection fetchCollection(WebdavCacheHandler cache, DocumentPath targetPath, InputStream dasl, boolean includeContent)
           
 DocumentCollection fetchCollection(WebdavCacheHandler cache, DocumentPath targetPath, String dasl, boolean includeContent)
           
 Document fetchDocument(WebdavCacheHandler cache, DocumentPath docPath)
           
 DocumentMetadata fetchMetadata(WebdavCacheHandler cache, DocumentPath docPath)
           
 DocumentPath resolvePath(WebdavCacheHandler cache, String documentId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xslt

public static final WebdavResponse xslt
Constructor Detail

DocumentFactory

public DocumentFactory(WebdavConfig config)
Method Detail

fetchDocument

public Document fetchDocument(WebdavCacheHandler cache,
                              DocumentPath docPath)
                       throws ClientException
Throws:
ClientException

fetchMetadata

public DocumentMetadata fetchMetadata(WebdavCacheHandler cache,
                                      DocumentPath docPath)
                               throws ClientException
Throws:
ClientException

fetchCollection

public DocumentCollection fetchCollection(WebdavCacheHandler cache,
                                          DocumentPath targetPath,
                                          InputStream dasl,
                                          boolean includeContent)
                                   throws ClientException
Throws:
ClientException

fetchCollection

public DocumentCollection fetchCollection(WebdavCacheHandler cache,
                                          DocumentPath targetPath,
                                          String dasl,
                                          boolean includeContent)
                                   throws ClientException
Throws:
ClientException

resolvePath

public DocumentPath resolvePath(WebdavCacheHandler cache,
                                String documentId)
                         throws ClientException
Throws:
ClientException

bindDocument

public Document bindDocument(WebdavCacheHandler cache,
                             WebdavResponse response)
                      throws ClientException
Throws:
ClientException


Copyright © 2006-2009 Hippo. All Rights Reserved.