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

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

public class LockScope
extends Object
implements XMLRenderer

This class models WebDAV's lockscope response tag

Author:
Daniel Sendula

Field Summary
protected  boolean exclusive
          Exclusive flag
static LockScope EXCLUSIVE
          Exclusive tag singleton
static LockScope SHARED
          Shared tag singleton
static String TAG_NAME
          Tag name
 
Constructor Summary
LockScope(boolean exclusive)
          Constructor
 
Method Summary
 void render(PrintWriter writer, NamespacesProvider provider)
          Renders the tag
 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

EXCLUSIVE

public static final LockScope EXCLUSIVE
Exclusive tag singleton


SHARED

public static final LockScope SHARED
Shared tag singleton


exclusive

protected boolean exclusive
Exclusive flag

Constructor Detail

LockScope

public LockScope(boolean exclusive)
Constructor

Parameters:
exclusive - exclusive
Method Detail

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


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