com.bradmcevoy.http
Class LockInfo

java.lang.Object
  extended by com.bradmcevoy.http.LockInfo
All Implemented Interfaces:
java.io.Serializable

public class LockInfo
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class LockInfo.LockDepth
           
static class LockInfo.LockScope
           
static class LockInfo.LockType
           
 
Field Summary
 LockInfo.LockDepth depth
           
 java.lang.String lockedByUser
          The name of the user who has locked this resource.
 LockInfo.LockScope scope
           
 LockInfo.LockType type
           
 
Constructor Summary
LockInfo()
           
LockInfo(LockInfo.LockScope scope, LockInfo.LockType type, java.lang.String lockedByUser, LockInfo.LockDepth depth)
           
 
Method Summary
static LockInfo parseLockInfo(Request request)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

scope

public LockInfo.LockScope scope

type

public LockInfo.LockType type

lockedByUser

public java.lang.String lockedByUser
The name of the user who has locked this resource.


depth

public LockInfo.LockDepth depth
Constructor Detail

LockInfo

public LockInfo(LockInfo.LockScope scope,
                LockInfo.LockType type,
                java.lang.String lockedByUser,
                LockInfo.LockDepth depth)
Parameters:
scope -
type -
lockedByUser - - the identifier of the user, such as a href
depth -

LockInfo

public LockInfo()
Method Detail

parseLockInfo

public static LockInfo parseLockInfo(Request request)
                              throws java.io.IOException,
                                     java.io.FileNotFoundException,
                                     org.xml.sax.SAXException
Throws:
java.io.IOException
java.io.FileNotFoundException
org.xml.sax.SAXException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.