org.abstracthorizon.danube.webdav.xml.dav.response.properties
Class SupportedLock

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

public class SupportedLock
extends ResponseProperty

This class models WebDAV's supportedlock response tag

Author:
Daniel Sendula

Field Summary
static String LOCK_ENTRY_TAG_NAME
          Lock tag entry tag name - "lockentry"
protected  int[] scopes
          Array of supported scopes
static String TAG_NAME
          Tag name
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
status
 
Constructor Summary
SupportedLock(int[] scopes)
          Constructor
SupportedLock(Status status)
          Constructor
 
Method Summary
 void render(PrintWriter writer, NamespacesProvider provider)
          Renders the tag
 String toString()
           
 
Methods inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
getStatus
 
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

LOCK_ENTRY_TAG_NAME

public static final String LOCK_ENTRY_TAG_NAME
Lock tag entry tag name - "lockentry"

See Also:
Constant Field Values

scopes

protected int[] scopes
Array of supported scopes

Constructor Detail

SupportedLock

public SupportedLock(Status status)
Constructor

Parameters:
status - status

SupportedLock

public SupportedLock(int[] scopes)
Constructor

Parameters:
scopes - an array of supported scopes
Method Detail

toString

public String toString()
Overrides:
toString in class Object

render

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

Parameters:
writer - writer
provider - namespace provider


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