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

java.lang.Object
  extended by org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
      extended by org.abstracthorizon.danube.webdav.xml.dav.request.properties.RequestProperty
          extended by org.abstracthorizon.danube.webdav.xml.dav.request.properties.SupportedLock
All Implemented Interfaces:
XMLParserHandler

public class SupportedLock
extends RequestProperty

This class models WebDAV's supportedlock request property

Author:
Daniel Sendula

Field Summary
protected  DAVFactory davFactory
          Factory
protected  List<LockEntry> lockEntries
          List of lock entries
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.properties.RequestProperty
CONSTRUCTOR_ARGUMENTS_CLASSES, logger, packageName
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
parent
 
Constructor Summary
SupportedLock(XMLParserHandler parent, DAVFactory factory)
          Constructor
 
Method Summary
 ResponseProperty processResponse(ResourceAdapter adapter, Object resource)
          Returns SupportedLock
 Object start(Object current, String tag, Attributes attributes)
          Returns current object and does nothing else
 String toString()
           
 
Methods inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.properties.RequestProperty
constructResponse, processRemoveProperty, processSetProperty
 
Methods inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
end
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

davFactory

protected DAVFactory davFactory
Factory


lockEntries

protected List<LockEntry> lockEntries
List of lock entries

Constructor Detail

SupportedLock

public SupportedLock(XMLParserHandler parent,
                     DAVFactory factory)
Constructor

Parameters:
parent - parnet parser handler
factory - factory
Method Detail

start

public Object start(Object current,
                    String tag,
                    Attributes attributes)
             throws SAXException
Description copied from class: AbstractSimpleXMLHandler
Returns current object and does nothing else

Specified by:
start in interface XMLParserHandler
Overrides:
start in class AbstractSimpleXMLHandler
Parameters:
current - current object
tag - tag
attributes - attribtues
Returns:
new object
Throws:
SAXException - sax exception

processResponse

public ResponseProperty processResponse(ResourceAdapter adapter,
                                        Object resource)
Returns SupportedLock

Overrides:
processResponse in class RequestProperty
Parameters:
adapter - adapter
resource - resource
Returns:
SupportedLock

toString

public String toString()
Overrides:
toString in class Object


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