APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.beans.decoder

pack-priv final Class ValueObjectImpl

extends Object
implements ValueObject
Class Inheritance
All Implemented Interfaces
com.sun.beans.decoder.ValueObject

This utility class provides static method to create the object that contains the result of method execution.
Author
Sergey A. Malenkov
Since
1.7

Field Summary

Modifier and TypeField and Description
private boolean
pack-priv static final ValueObject
private Object
pack-priv static final ValueObject

Constructor Summary

AccessConstructor and Description
private
ValueObjectImpl()

Creates the object that describes returning void value.

private
ValueObjectImpl(Object
the result of method execution
value
)

Creates the object that describes returning non-void value.

Method Summary

Modifier and TypeMethod and Description
pack-priv static ValueObject

Returns:

the object that describes value
create
(Object
the result of method execution
value
)

Returns the object that describes returning value.

public Object

Returns:

the result of method execution
getValue
()

Implements com.sun.beans.decoder.ValueObject.getValue.

Returns the result of method execution.

public boolean

Returns:

true if value should be ignored, false otherwise
isVoid
()

Implements com.sun.beans.decoder.ValueObject.isVoid.

Returns void state of this value object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

isVoidback to summary
private boolean isVoid
NULLback to summary
pack-priv static final ValueObject NULL
valueback to summary
private Object value
VOIDback to summary
pack-priv static final ValueObject VOID

Constructor Detail

ValueObjectImplback to summary
private ValueObjectImpl()

Creates the object that describes returning void value.

ValueObjectImplback to summary
private ValueObjectImpl(Object value)

Creates the object that describes returning non-void value.

Parameters
value:Object

the result of method execution

Method Detail

createback to summary
pack-priv static ValueObject create(Object value)

Returns the object that describes returning value.

Parameters
value:Object

the result of method execution

Returns:ValueObject

the object that describes value

getValueback to summary
public Object getValue()

Implements com.sun.beans.decoder.ValueObject.getValue.

Returns the result of method execution.

Returns:Object

the result of method execution

Annotations
@Override
isVoidback to summary
public boolean isVoid()

Implements com.sun.beans.decoder.ValueObject.isVoid.

Returns void state of this value object.

Returns:boolean

true if value should be ignored, false otherwise

Annotations
@Override