Package com.github.sardine.model

Examples of com.github.sardine.model.Allprop


    @Override
    public List<DavResource> list(String url, int depth, boolean allProp) throws IOException
    {
        if (allProp) {
            Propfind body = new Propfind();
            body.setAllprop(new Allprop());
            return list(url, depth, body);
        } else {
            return list(url, depth, Collections.<QName>emptySet());
        }
    }
View Full Code Here


  @Test
  public void createPropfindXml() throws Exception
  {
    Propfind body = new Propfind();
    body.setAllprop(new Allprop());
    String xml = SardineUtil.toXml(body);
    checkXmlDeclaration(xml);
    assertThat(xml, containsString("propfind>"));
    assertThat(xml, containsString("allprop/>"));
  }
View Full Code Here

TOP

Related Classes of com.github.sardine.model.Allprop

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.