|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
- factoryMethod Detail |
---|
public Object start(Object current, String tag, Attributes attributes) throws SAXException
AbstractSimpleXMLHandler
start
in interface XMLParserHandler
start
in class AbstractSimpleXMLHandler
current
- current objecttag
- tagattributes
- attribtues
SAXException
- sax exceptionpublic Object end(Object current, String tag, String value) throws SAXException
AbstractSimpleXMLHandler
end
in interface XMLParserHandler
end
in class AbstractSimpleXMLHandler
current
- current objecttag
- tagvalue
- tag value
SAXException
- sax exceptionpublic int getType()
LockingMechanism.TYPE_WRITE
public int getScope()
LockingMechanism.SCOPE_EXCLUSIVE
,
LockingMechanism.SCOPE_SHARED
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |