| com.google.gdata.model.Metadata.VirtualValue |
Known Indirect Subclasses
| MetadataValueTransform |
This class represents a transformation of a value based on a list of keys
to use as the value for the element. |
|
Class Overview
Defines a virtual value. A virtual value exists only as metadata,
and handles both parsing and generation between the DOM and the content of
the property.
Summary
| Public Methods |
|
abstract
Object
|
generate(Element element, ElementMetadata<?, ?> metadata)
Generate the value of either an attribute or text content based on the
containing element and metadata.
|
|
abstract
void
|
parse(Element element, ElementMetadata<?, ?> metadata, Object value)
Parses the virtual value using the given metadata, storing it into the
element or attribute as appropriate.
|
Public Methods
public
abstract
Object
generate
(Element element, ElementMetadata<?, ?> metadata)
Generate the value of either an attribute or text content based on the
containing element and metadata.
public
abstract
void
parse
(Element element, ElementMetadata<?, ?> metadata, Object value)
Parses the virtual value using the given metadata, storing it into the
element or attribute as appropriate.