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

pack-priv final Class TrueElementHandler

extends NullElementHandler
Class Inheritance

This class is intended to handle <true> element. This element specifies true value. It should not contain body or inner elements. For example:
<true/>
is equivalent to true 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:

Boolean.TRUE by default
getValue
()

Overrides com.sun.beans.decoder.NullElementHandler.getValue.

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

Returns Boolean.TRUE as a value of <true> element.

Inherited from com.sun.beans.decoder.NullElementHandler:
getValueObjectisVoid

Constructor Detail

TrueElementHandlerback to summary
pack-priv TrueElementHandler()

Method Detail

getValueback to summary
public Object getValue()

Overrides com.sun.beans.decoder.NullElementHandler.getValue.

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

Returns Boolean.TRUE as a value of <true> element.

Returns:Object

Boolean.TRUE by default

Annotations
@Override