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

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.LockDiscovery
All Implemented Interfaces:
XMLParserHandler

public class LockDiscovery
extends RequestProperty

This class models WebDAV's lockdiscovery request property

Author:
Daniel Sendula

Field Summary
 
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
LockDiscovery(XMLParserHandler parent)
          Constructory
 
Method Summary
 Object end(Object current, String tag, String value)
          Returns parent object and does nothing else
 ResponseProperty processResponse(ResourceAdapter adapter, Object resource)
          Returns lock discovetry response property based on locking mechanism defined in the adapter
 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
start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockDiscovery

public LockDiscovery(XMLParserHandler parent)
Constructory

Parameters:
parent -
Method Detail

end

public Object end(Object current,
                  String tag,
                  String value)
           throws SAXException
Description copied from class: AbstractSimpleXMLHandler
Returns parent object and does nothing else

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

toString

public String toString()
Overrides:
toString in class Object

processResponse

public ResponseProperty processResponse(ResourceAdapter adapter,
                                        Object resource)
Returns lock discovetry response property based on locking mechanism defined in the adapter

Overrides:
processResponse in class RequestProperty
Parameters:
adapter - adapter
resource - resource
Returns:
lock discovery response property


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