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

pack-priv Class NullElementHandler

extends ElementHandler
implements ValueObject
Class Inheritance
All Implemented Interfaces
com.sun.beans.decoder.ValueObject
Known Direct Subclasses
com.sun.beans.decoder.TrueElementHandler, com.sun.beans.decoder.FalseElementHandler

This class is intended to handle <null> element. This element specifies null value. It should not contain body or inner elements. For example:
<null/>
is equivalent to null in Java code.

The following attribute is supported:

id
the identifier of the variable that is intended to store the result
Author
Sergey A. Malenkov
Since
1.7

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

null by default
getValue
()

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

Returns null as a value of <null> element.

protected final ValueObject

Returns:

the value of this element
getValueObject
()

Implements abstract com.sun.beans.decoder.ElementHandler.getValueObject.

Returns the value of this element.

public final boolean

Returns:

false always
isVoid
()

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

Returns void state of this value object.

Inherited from com.sun.beans.decoder.ElementHandler:
addArgumentaddAttributeaddCharacterendElementgetContextBeangetOwnergetParentgetVariableisArgumentsetOwnersetParentstartElement

Constructor Detail

NullElementHandlerback to summary
pack-priv NullElementHandler()

Method Detail

getValueback to summary
public Object getValue()

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

Returns null as a value of <null> element. This method should be overridden in those handlers that extend behavior of this element.

Returns:Object

null by default

Annotations
@Override
getValueObjectback to summary
protected final ValueObject getValueObject()

Implements abstract com.sun.beans.decoder.ElementHandler.getValueObject.

Returns the value of this element.

Returns:ValueObject

the value of this element

Annotations
@Override
isVoidback to summary
public final boolean isVoid()

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

Returns void state of this value object.

Returns:boolean

false always

Annotations
@Override