|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.value.BaseValue
public abstract class BaseValue
This class is the superclass of the type-specific
classes implementing the Value interfaces.
Value,
StringValue,
LongValue,
DoubleValue,
DecimalValue,
BooleanValue,
DateValue,
BinaryValue,
NameValue,
PathValue,
URIValue,
ReferenceValue,
WeakReferenceValue| Field Summary | |
|---|---|
protected static java.lang.String |
DEFAULT_ENCODING
|
protected java.io.InputStream |
stream
|
protected int |
type
|
| Method Summary | |
|---|---|
Binary |
getBinary()
|
boolean |
getBoolean()
|
java.util.Calendar |
getDate()
|
java.math.BigDecimal |
getDecimal()
|
double |
getDouble()
|
protected abstract java.lang.String |
getInternalString()
Returns the internal string representation of this value without modifying the value state. |
long |
getLong()
|
java.io.InputStream |
getStream()
|
java.lang.String |
getString()
|
int |
getType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String DEFAULT_ENCODING
protected final int type
protected java.io.InputStream stream
| Method Detail |
|---|
protected abstract java.lang.String getInternalString()
throws ValueFormatException,
RepositoryException
ValueFormatException - if the value can not be represented as a
String or if the value is
null.
RepositoryException - if another error occurs.public int getType()
getType in interface Value
public java.util.Calendar getDate()
throws ValueFormatException,
java.lang.IllegalStateException,
RepositoryException
getDate in interface ValueValueFormatException
java.lang.IllegalStateException
RepositoryException
public long getLong()
throws ValueFormatException,
java.lang.IllegalStateException,
RepositoryException
getLong in interface ValueValueFormatException
java.lang.IllegalStateException
RepositoryException
public boolean getBoolean()
throws ValueFormatException,
java.lang.IllegalStateException,
RepositoryException
getBoolean in interface ValueValueFormatException
java.lang.IllegalStateException
RepositoryException
public double getDouble()
throws ValueFormatException,
java.lang.IllegalStateException,
RepositoryException
getDouble in interface ValueValueFormatException
java.lang.IllegalStateException
RepositoryException
public java.math.BigDecimal getDecimal()
throws ValueFormatException,
java.lang.IllegalStateException,
RepositoryException
getDecimal in interface ValueValueFormatException
java.lang.IllegalStateException
RepositoryException
public java.io.InputStream getStream()
throws java.lang.IllegalStateException,
RepositoryException
getStream in interface Valuejava.lang.IllegalStateException
RepositoryException
public Binary getBinary()
throws ValueFormatException,
java.lang.IllegalStateException,
RepositoryException
getBinary in interface ValueValueFormatException
java.lang.IllegalStateException
RepositoryException
public java.lang.String getString()
throws ValueFormatException,
java.lang.IllegalStateException,
RepositoryException
getString in interface ValueValueFormatException
java.lang.IllegalStateException
RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||