|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface Metadata.VirtualValue
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.
| Method Summary | |
|---|---|
java.lang.Object |
generate(Element element,
ElementMetadata<?,?> metadata)
Generate the value of either an attribute or text content based on the containing element and metadata. |
void |
parse(Element element,
ElementMetadata<?,?> metadata,
java.lang.Object value)
Parses the virtual value using the given metadata, storing it into the element or attribute as appropriate. |
| Method Detail |
|---|
java.lang.Object generate(Element element,
ElementMetadata<?,?> metadata)
void parse(Element element,
ElementMetadata<?,?> metadata,
java.lang.Object value)
throws ParseException
ParseException - if parsing fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||