Top Constructors Methods
org.jooq.conf

public Class RegexAdapter

extends XmlAdapter<String, Pattern>
Class Inheritance
Imports
java.util.regex.Pattern, jakarta.xml.bind.annotation.adapters.XmlAdapter

Author
Lukas Eder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
marshal(Pattern
The value to be convereted. Can be null.
v
)

Implements abstract jakarta.xml.bind.annotation.adapters.XmlAdapter.marshal.

Convert a bound type to a value type.
public Pattern
unmarshal(String
The value to be converted. Can be null.
v
)

Implements abstract jakarta.xml.bind.annotation.adapters.XmlAdapter.unmarshal.

Convert a value type to a bound type.

Constructor Detail

RegexAdapterback to summary
public RegexAdapter()

Method Detail

marshalback to summary
public String marshal(Pattern v) throws Exception

Implements abstract jakarta.xml.bind.annotation.adapters.XmlAdapter.marshal.

Doc from jakarta.xml.bind.annotation.adapters.XmlAdapter.marshal.

Convert a bound type to a value type.

Parameters
v:Pattern

The value to be convereted. Can be null.

Annotations
@Override
Exceptions
Exception:
if there's an error during the conversion. The caller is responsible for reporting the error to the user through jakarta.xml.bind.ValidationEventHandler.
unmarshalback to summary
public Pattern unmarshal(String v) throws Exception

Implements abstract jakarta.xml.bind.annotation.adapters.XmlAdapter.unmarshal.

Doc from jakarta.xml.bind.annotation.adapters.XmlAdapter.unmarshal.

Convert a value type to a bound type.

Parameters
v:String

The value to be converted. Can be null.

Annotations
@Override
Exceptions
Exception:
if there's an error during the conversion. The caller is responsible for reporting the error to the user through jakarta.xml.bind.ValidationEventHandler.