Package org.apache.jackrabbit.value
Class BaseValue
- java.lang.Object
-
- org.apache.jackrabbit.value.BaseValue
-
- All Implemented Interfaces:
Value
- Direct Known Subclasses:
BinaryValue,BooleanValue,DateValue,DecimalValue,DoubleValue,LongValue,NameValue,PathValue,ReferenceValue,StringValue,URIValue,WeakReferenceValue
public abstract class BaseValue extends java.lang.Object implements Value
This class is the superclass of the type-specific classes implementing theValueinterfaces.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinarygetBinary()booleangetBoolean()java.util.CalendargetDate()java.math.BigDecimalgetDecimal()doublegetDouble()longgetLong()java.io.InputStreamgetStream()java.lang.StringgetString()intgetType()
-
-
-
Method Detail
-
getDate
public java.util.Calendar getDate() throws ValueFormatException, java.lang.IllegalStateException, RepositoryException- Specified by:
getDatein interfaceValue- Throws:
ValueFormatExceptionjava.lang.IllegalStateExceptionRepositoryException
-
getLong
public long getLong() throws ValueFormatException, java.lang.IllegalStateException, RepositoryException- Specified by:
getLongin interfaceValue- Throws:
ValueFormatExceptionjava.lang.IllegalStateExceptionRepositoryException
-
getBoolean
public boolean getBoolean() throws ValueFormatException, java.lang.IllegalStateException, RepositoryException- Specified by:
getBooleanin interfaceValue- Throws:
ValueFormatExceptionjava.lang.IllegalStateExceptionRepositoryException
-
getDouble
public double getDouble() throws ValueFormatException, java.lang.IllegalStateException, RepositoryException- Specified by:
getDoublein interfaceValue- Throws:
ValueFormatExceptionjava.lang.IllegalStateExceptionRepositoryException
-
getDecimal
public java.math.BigDecimal getDecimal() throws ValueFormatException, java.lang.IllegalStateException, RepositoryException- Specified by:
getDecimalin interfaceValue- Throws:
ValueFormatExceptionjava.lang.IllegalStateExceptionRepositoryException
-
getStream
public java.io.InputStream getStream() throws java.lang.IllegalStateException, RepositoryException- Specified by:
getStreamin interfaceValue- Throws:
java.lang.IllegalStateExceptionRepositoryException
-
getBinary
public Binary getBinary() throws ValueFormatException, java.lang.IllegalStateException, RepositoryException
- Specified by:
getBinaryin interfaceValue- Throws:
ValueFormatExceptionjava.lang.IllegalStateExceptionRepositoryException
-
getString
public java.lang.String getString() throws ValueFormatException, java.lang.IllegalStateException, RepositoryException- Specified by:
getStringin interfaceValue- Throws:
ValueFormatExceptionjava.lang.IllegalStateExceptionRepositoryException
-
-