|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.value.BaseNonStreamValue
org.apache.jackrabbit.rmi.value.PathValue
public class PathValue
The PathValue
class implements the committed value state for
Path values as a part of the State design pattern (Gof) used by this package.
Constructor Summary | |
---|---|
protected |
PathValue(String value)
Creates an instance for the given path value . |
Method Summary | |
---|---|
String |
getString()
Returns the string representation of the path value. |
int |
getType()
Returns PropertyType.PATH . |
protected static String |
toPath(String value)
Checks whether the string value adheres to the path syntax. |
Methods inherited from class org.apache.jackrabbit.rmi.value.BaseNonStreamValue |
---|
getBoolean, getDate, getDouble, getLong, getStream, getValueFormatException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jcr.Value |
---|
getBoolean, getDate, getDouble, getLong, getStream |
Constructor Detail |
---|
protected PathValue(String value) throws ValueFormatException
value
.
ValueFormatException
Method Detail |
---|
protected static String toPath(String value) throws ValueFormatException
value
- The string to check for synthactical compliance with a
path value.
ValueFormatException
- if the string value
is not a
synthactically correct path.public int getType()
PropertyType.PATH
.
getType
in interface Value
public String getString() throws ValueFormatException, RepositoryException
getString
in interface Value
ValueFormatException
RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |