|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
org.abstracthorizon.danube.webdav.xml.dav.DAVAbstractXMLParser
org.abstracthorizon.danube.webdav.xml.dav.request.LockEntry
public class LockEntry
This class models WebDAV's lockentry tag
| Field Summary | |
|---|---|
protected LockScope |
lockScope
Requested lock scope |
protected LockType |
lockType
Requested lock type |
| 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 | |
|---|---|
LockEntry(XMLParserHandler parent,
DAVFactory factory)
Constructor |
|
| Method Summary | |
|---|---|
Object |
end(Object current,
String tag,
String value)
Returns parent object and does nothing else |
int |
getScope()
Returns requested lock's scope. |
int |
getType()
Returns requested lock's type. |
Object |
start(Object current,
String tag,
Attributes attributes)
Returns current object and does nothing else |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected LockScope lockScope
protected LockType lockType
| Constructor Detail |
|---|
public LockEntry(XMLParserHandler parent,
DAVFactory factory)
parent - parent parser handlerfactory - factory| Method Detail |
|---|
public Object start(Object current,
String tag,
Attributes attributes)
throws SAXException
AbstractSimpleXMLHandler
start in interface XMLParserHandlerstart in class AbstractSimpleXMLHandlercurrent - current objecttag - tagattributes - attribtues
SAXException - sax exception
public Object end(Object current,
String tag,
String value)
throws SAXException
AbstractSimpleXMLHandler
end in interface XMLParserHandlerend in class AbstractSimpleXMLHandlercurrent - current objecttag - tagvalue - tag value
SAXException - sax exceptionpublic int getType()
LockingMechanism.TYPE_WRITEpublic int getScope()
LockingMechanism.SCOPE_EXCLUSIVE,
LockingMechanism.SCOPE_SHAREDpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||