Override the default I/O methods
If the default methods are not sufficient because, for example, you want to include parentheses and other delimiting characters in the text representation, you can explicitly override the defaults with definitions of your own, after you register the Java™ UDT.