|
||||||||||
| 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.ReferenceValue
public class ReferenceValue
The ReferenceValue class implements the committed value state
for Reference values as a part of the State design pattern (Gof) used by
this package.
| Constructor Summary | |
|---|---|
protected |
ReferenceValue(java.lang.String value)
Creates an instance for the given reference value. |
| Method Summary | |
|---|---|
java.lang.String |
getString()
Returns the string representation of the reference value. |
int |
getType()
Returns PropertyType.REFERENCE. |
protected static java.lang.String |
toReference(java.lang.String value)
Checks whether the string value adheres to the reference 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 ReferenceValue(java.lang.String value)
throws javax.jcr.ValueFormatException
value.
javax.jcr.ValueFormatException| Method Detail |
|---|
protected static java.lang.String toReference(java.lang.String value)
throws javax.jcr.ValueFormatException
value - The string to check for synthactical compliance with a
reference value.
javax.jcr.ValueFormatException - if the string value is not a
synthactically correct reference.public int getType()
PropertyType.REFERENCE.
getType in interface javax.jcr.Value
public java.lang.String getString()
throws javax.jcr.ValueFormatException,
javax.jcr.RepositoryException
getString in interface javax.jcr.Valuejavax.jcr.ValueFormatException
javax.jcr.RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||