PropFindQueryType.java :  » Net » SkunkDAV » org » skunk » dav » client » method » Java Open Source

Java Open Source » Net » SkunkDAV 
SkunkDAV » org » skunk » dav » client » method » PropFindQueryType.java
/*
 *  Copyright (c) 2000, Jacob Smullyan.
 *
 *  This is part of SkunkDAV, a WebDAV client.  See http://skunkdav.sourceforge.net/ 
 *  for the latest version.
 * 
 *  SkunkDAV is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU General Public License as published
 *  by the Free Software Foundation; either version 2, or (at your option)
 *  any later version.
 * 
 *  SkunkDAV  is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  General Public License for more details.
 * 
 *  You should have received a copy of the GNU General Public License
 *  along with SkunkDAV; see the file COPYING.  If not, write to the Free
 *  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 *  02111-1307, USA.
*/

package org.skunk.dav.client.method;

import org.skunk.dav.client.DAVConstants;

public class PropFindQueryType
{
    public static final PropFindQueryType ALLPROP = new PropFindQueryType(DAVConstants.ALLPROP_ELEM);
    public static final PropFindQueryType PROPNAME = new PropFindQueryType(DAVConstants.PROPNAME_ELEM);
    public static final PropFindQueryType PROP = new PropFindQueryType(DAVConstants.PROP_ELEM);

    private String queryType;

    private PropFindQueryType(String queryType)
    {
  this.queryType=queryType;
    }

    public String toString()
    {
  return queryType;
    }
}

/* $Log: PropFindQueryType.java,v $
/* Revision 1.4  2001/07/15 18:16:37  smulloni
/* fixed some copyright notices.
/*
/* Revision 1.3  2000/12/03 23:53:27  smulloni
/* added license and copyright preamble to java files.
/*
/* Revision 1.2  2000/11/09 23:35:09  smullyan
/* log added to every Java file, with the help of python.  Lock stealing
/* implemented, and treatment of locks made more robust.
/* */
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.