org.abstracthorizon.danube.webdav.xml.dav.response
Class ResponseProp

java.lang.Object
  extended by org.abstracthorizon.danube.webdav.xml.dav.response.ResponseProp
All Implemented Interfaces:
XMLRenderer

public class ResponseProp
extends Object
implements XMLRenderer

This class models WebDAV's response prop tag.

Author:
Daniel Sendula

Field Summary
protected  List<ResponseProperty> properties
          List of properties
static String TAG_NAME
          Tag name
 
Constructor Summary
ResponseProp()
          Constructor
 
Method Summary
 List<ResponseProperty> getProperties()
          Returns a list of properties.
 void render(PrintWriter writer, NamespacesProvider provider)
          Renders the tag
 void renderWithNamespaces(PrintWriter writer, NamespacesProvider provider)
          Renders the tag with all namespaces.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_NAME

public static final String TAG_NAME
Tag name

See Also:
Constant Field Values

properties

protected List<ResponseProperty> properties
List of properties

Constructor Detail

ResponseProp

public ResponseProp()
Constructor

Method Detail

getProperties

public List<ResponseProperty> getProperties()
Returns a list of properties. It will never be null.

Returns:
a list of properties

toString

public String toString()
Overrides:
toString in class Object

render

public void render(PrintWriter writer,
                   NamespacesProvider provider)
Renders the tag

Specified by:
render in interface XMLRenderer
Parameters:
writer - writer
provider - namespace provider

renderWithNamespaces

public void renderWithNamespaces(PrintWriter writer,
                                 NamespacesProvider provider)
Renders the tag with all namespaces. It is used as partial response xml.

Parameters:
writer - writer
provider - namespace provider


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.