Top Description Fields Constructors Methods
com.sun.beans.decoder

pack-priv final Class VarElementHandler

extends ElementHandler
Class Inheritance

This class is intended to handle <var> element. This element retrieves the value of specified variable. For example:
<var id="id1" idref="id2"/>
is equivalent to id1 = id2 in Java code.

The following attributes are supported:

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

Field Summary

Modifier and TypeField and Description
private ValueObject

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
addAttribute(String
the attribute name
name
,
String
the attribute value
value
)

Overrides com.sun.beans.decoder.ElementHandler.addAttribute.

Parses attributes of the element.
protected ValueObject

Returns:

the value of this element
getValueObject
()

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

Returns the value of this element.
Inherited from com.sun.beans.decoder.ElementHandler:
addArgumentaddCharacterendElementgetContextBeangetOwnergetParentgetVariableisArgumentsetOwnersetParentstartElement

Field Detail

valueback to summary
private ValueObject value

Constructor Detail

VarElementHandlerback to summary
pack-priv VarElementHandler()

Method Detail

addAttributeback to summary
public void addAttribute(String name, String value)

Overrides com.sun.beans.decoder.ElementHandler.addAttribute.

Parses attributes of the element. The following attributes are supported:

idref
the identifier to refer to the variable
id
the identifier of the variable that is intended to store the result
Parameters
name:String

the attribute name

value:String

the attribute value

Annotations
@Override
getValueObjectback to summary
protected 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