Class XMLAdapter.Synthetic

All Implemented Interfaces:
Adapter.ArrayProto<SQLXML[]>, SlotTester.Visible
Enclosing class:
XMLAdapter

public static class XMLAdapter.Synthetic extends XMLAdapter
Adapter for use when the PostgreSQL type is not actually XML, but to be synthetically rendered as XML (such as pg_node_tree).

This is, for now, a very thin wrapper over SQLXMLImpl.newReadable, which (so far) is still where the type-specific rendering logic gets chosen, but that can be refactored eventually.