|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface OrmConverter.Adapter
This interface allows a convertible mapping to interact with various
orm.xml converters via the same protocol.
| Method Summary | |
|---|---|
OrmConverter |
buildConverter(OrmAttributeMapping parent,
OrmXmlContextNodeFactory factory)
Build a converter for specified mapping if the mapping's XML has the adapter's value set. |
OrmConverter |
buildNewConverter(OrmAttributeMapping parent,
OrmXmlContextNodeFactory factory)
Build a converter for specified mapping. |
void |
clearXmlValue(XmlConvertibleMapping xmlMapping)
Clear the adapter's XML value from the specified XML mapping. |
java.lang.Class<? extends Converter> |
getConverterType()
Return the type of converter handled by the adapter. |
boolean |
isActive(XmlConvertibleMapping xmlMapping)
Return whether the specified XML mapping has the adapter's value set. |
| Method Detail |
|---|
java.lang.Class<? extends Converter> getConverterType()
OrmConverter buildConverter(OrmAttributeMapping parent,
OrmXmlContextNodeFactory factory)
null otherwise.
This is used to build a converter during construction of the
converter's mapping.
boolean isActive(XmlConvertibleMapping xmlMapping)
buildNewConverter(OrmAttributeMapping, OrmXmlContextNodeFactory)
OrmConverter buildNewConverter(OrmAttributeMapping parent,
OrmXmlContextNodeFactory factory)
OrmConverter.initialize().
isActive(XmlConvertibleMapping)void clearXmlValue(XmlConvertibleMapping xmlMapping)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||