- java.lang.Object
-
- org.jooq.XML
-
- All Implemented Interfaces:
Serializable
public final class XML extends Object implements Serializable
An XML wrapper type for XML data obtained from the database.The wrapper represents XML
data()in serialised string form. ACAST(NULL AS XML)value is represented by anullreference of typeXML, not asdata() == null. This is consistent with jOOQ's general way of returningNULLfromResultandRecordmethods.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Stringdata()booleanequals(Object obj)inthashCode()StringtoString()static @NotNull XMLvalueOf(String data)Create a newXMLinstance from string data input.static @NotNull XMLxml(String data)Create a newXMLinstance from string data input.
-
-
-
Method Detail
-
data
@NotNull public final @NotNull String data()
-
valueOf
@NotNull public static final @NotNull XML valueOf(String data)
Create a newXMLinstance from string data input.
-
xml
@NotNull public static final @NotNull XML xml(String data)
Create a newXMLinstance from string data input.This is the same as
valueOf(String), but it can be static imported.
-
-