Class Depth
- java.lang.Object
-
- org.exoplatform.services.jcr.webdav.Depth
-
public class Depth extends Object
Created by The eXo Platform SAS .- Version:
- $Id: $
- Author:
- Gennady Azarenkov
-
-
Field Summary
Fields Modifier and Type Field Description static StringINFINITY_NAMEString constant for depth "infinity" value.static intINFINITY_VALUEInteger constant for depth "infinity" value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIntValue()Returns depth integer value.StringgetStringValue()Returns depth String value.
-
-
-
Field Detail
-
INFINITY_NAME
public static final String INFINITY_NAME
String constant for depth "infinity" value.- See Also:
- Constant Field Values
-
INFINITY_VALUE
public static final int INFINITY_VALUE
Integer constant for depth "infinity" value.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Depth
public Depth(String strValue) throws PreconditionException
Creates a Depth object from the String.- Parameters:
strValue- depth string value- Throws:
PreconditionException- when some problems occurs.
-
-
Method Detail
-
getIntValue
public int getIntValue()
Returns depth integer value.- Returns:
- depth int value
-
getStringValue
public String getStringValue()
Returns depth String value.- Returns:
- depth String value
-
-