org.abstracthorizon.danube.webdav.xml.dav.request
Class LockInfo

java.lang.Object
  extended by org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
      extended by org.abstracthorizon.danube.webdav.xml.dav.DAVAbstractXMLParser
          extended by org.abstracthorizon.danube.webdav.xml.dav.request.LockEntry
              extended by org.abstracthorizon.danube.webdav.xml.dav.request.LockInfo
All Implemented Interfaces:
XMLParserHandler

public class LockInfo
extends LockEntry

This class models WebDAV's lockinfo tag

Author:
Daniel Sendula

Field Summary
protected  Owner owner
          Owner
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.LockEntry
lockScope, lockType
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.DAVAbstractXMLParser
davFactory
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
parent
 
Constructor Summary
LockInfo(XMLParserHandler parent, DAVFactory factory)
          Constructor
 
Method Summary
 Object end(Object current, String tag, String value)
          Returns parent object and does nothing else
 Object getOwner()
          Returns owner
 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.LockEntry
getScope, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

owner

protected Owner owner
Owner

Constructor Detail

LockInfo

public LockInfo(XMLParserHandler parent,
                DAVFactory factory)
Constructor

Parameters:
parent - parent 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 LockEntry
Parameters:
current - current object
tag - tag
attributes - attribtues
Returns:
new object
Throws:
SAXException - sax exception

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 LockEntry
Parameters:
current - current object
tag - tag
value - tag value
Returns:
new object
Throws:
SAXException - sax exception

getOwner

public Object getOwner()
Returns owner

Returns:
owner

toString

public String toString()
Overrides:
toString in class LockEntry


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