Object types to SQLXML
types from your database.
Subtypes may extend this type to provide actual bound type.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final Converter | converter()
Implements org. |
| converter | back to summary |
|---|---|
| private final Converter<XML, T> converter | |
| AbstractXMLasObjectBinding | back to summary |
|---|---|
| protected AbstractXMLasObjectBinding(final Class<T> theType) | |
| converter | back to summary |
|---|---|
| public final Converter Implements org. Doc from org. A converter that can convert between the database type and the custom type.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv transient JAXBContext | |
| pack-priv XmlRootElement |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public T | from(XML
The database object. t, ConverterContext The context of this conversion. scope)Implements org. |
| private final JAXBContext | |
| private void | |
| public XML | to(T
The user object. u, ConverterContext The context of this conversion. scope)Implements org. |
| private void |
| ctx | back to summary |
|---|---|
| pack-priv transient JAXBContext ctx | |
| root | back to summary |
|---|---|
| pack-priv XmlRootElement root | |
| XMLasObjectConverter | back to summary |
|---|---|
| private XMLasObjectConverter(Class<T> type) | |
| from | back to summary |
|---|---|
| public T from(XML t, ConverterContext scope) Implements org. Doc from org. Read and convert a database object to a user object.
| |
| initCtx | back to summary |
|---|---|
| private final JAXBContext initCtx() | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException | |
| to | back to summary |
|---|---|
| public XML to(T u, ConverterContext scope) Implements org. Doc from org. Convert and write a user object to a database object.
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream oos) throws IOException | |