org.apache.wink.webdav.model
Class Propfind

java.lang.Object
  extended by org.apache.wink.webdav.model.Propfind

public class Propfind
extends java.lang.Object

The propfind XML element per the WebDAV specification [RFC 4918]

    Name:       propfind
    Namespace:  DAV:
    Purpose:    Specifies the properties to be returned from a PROPFIND
    method.  Two special elements are specified for use with propfind,
    allprop and propname.  If prop is used inside propfind it MUST only
    contain property names, not values.
 
    <!ELEMENT propfind (allprop | propname | prop) >
 


Field Summary
protected  Allprop allprop
           
protected  Prop prop
           
protected  Propname propname
           
 
Constructor Summary
Propfind()
           
 
Method Summary
 Allprop getAllprop()
          Gets the value of the allprop property.
 Prop getProp()
          Gets the value of the prop property.
 Propname getPropname()
          Gets the value of the propname property.
 boolean isAllprop()
           
 boolean isPropname()
           
static void marshal(Propfind instance, java.io.OutputStream os)
          Marshal a Propfind object to the provided output stream
static void marshal(Propfind instance, java.io.Writer writer)
          Marshal a Propfind object to the provided writer
 void setAllprop(Allprop value)
          Sets the value of the allprop property.
 void setProp(Prop value)
          Sets the value of the prop property.
 void setPropname(Propname value)
          Sets the value of the propname property.
static Propfind unmarshal(java.io.InputStream is)
          Unmarshal a Propfind object from the provided input stream
static Propfind unmarshal(java.io.Reader reader)
          Unmarshal a Propfind object from the provided reader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allprop

protected Allprop allprop

propname

protected Propname propname

prop

protected Prop prop
Constructor Detail

Propfind

public Propfind()
Method Detail

getAllprop

public Allprop getAllprop()
Gets the value of the allprop property.

Returns:
possible object is Allprop

setAllprop

public void setAllprop(Allprop value)
Sets the value of the allprop property.

Parameters:
value - allowed object is Allprop

getPropname

public Propname getPropname()
Gets the value of the propname property.

Returns:
possible object is Propname

setPropname

public void setPropname(Propname value)
Sets the value of the propname property.

Parameters:
value - allowed object is Propname

getProp

public Prop getProp()
Gets the value of the prop property.

Returns:
possible object is Prop

setProp

public void setProp(Prop value)
Sets the value of the prop property.

Parameters:
value - allowed object is Prop

isAllprop

public boolean isAllprop()

isPropname

public boolean isPropname()

unmarshal

public static Propfind unmarshal(java.io.InputStream is)
                          throws java.io.IOException
Unmarshal a Propfind object from the provided input stream

Parameters:
is - the input stream
Returns:
an instance of a Propfind object
Throws:
java.io.IOException

marshal

public static void marshal(Propfind instance,
                           java.io.OutputStream os)
                    throws java.io.IOException
Marshal a Propfind object to the provided output stream

Parameters:
instance - the Propfind instance to marshal
outputStreamWriter - the output stream
Throws:
java.io.IOException

unmarshal

public static Propfind unmarshal(java.io.Reader reader)
                          throws java.io.IOException
Unmarshal a Propfind object from the provided reader

Parameters:
reader - the input reader
Returns:
an instance of a Propfind object
Throws:
java.io.IOException

marshal

public static void marshal(Propfind instance,
                           java.io.Writer writer)
                    throws java.io.IOException
Marshal a Propfind object to the provided writer

Parameters:
instance - the Profind instance to marshal
writer - the output writer
Throws:
java.io.IOException


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.