<conversion> declaration in the binding file.
This declaration declares a conversion by user-specified methods.
| Modifier and Type | Field and Description |
|---|---|
| private final Element | e
|
| private final BindInfo |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| pack-priv static void | addBuiltinConversions(BindInfo bi, Map<String, BIConversion> m)
Adds all built-in conversions into the given map. |
| private JDefinedClass | |
| public Locator | |
| public TypeUse | getTransducer()
Implements com. Gets a transducer for this conversion. |
| public String | |
| private static Element |
| e | back to summary |
|---|---|
| private final Element e
| |
| owner | back to summary |
|---|---|
| private final BindInfo owner The owner | |
| BIUserConversion | back to summary |
|---|---|
| pack-priv BIUserConversion(BindInfo bi, Element _e) Wraps a given | |
| add | back to summary |
|---|---|
| private static void add(Map<String, BIConversion> m, BIConversion c) | |
| addBuiltinConversions | back to summary |
|---|---|
| pack-priv static void addBuiltinConversions(BindInfo bi, Map<String, BIConversion> m) Adds all built-in conversions into the given map. | |
| generateAdapter | back to summary |
|---|---|
| private JDefinedClass generateAdapter(JCodeModel cm, String parseMethod, String printMethod, JClass inMemoryType) | |
| getSourceLocation | back to summary |
|---|---|
| public Locator getSourceLocation() Gets the location where this declaration is declared. | |
| getTransducer | back to summary |
|---|---|
| public TypeUse getTransducer() Implements com. Gets a transducer for this conversion.
| |
| name | back to summary |
|---|---|
| public String name() Implements com. Gets the conversion name.
| |
| parse | back to summary |
|---|---|
| private static Element parse(String text) | |