The wrapper represents XML data() in serialised string form. A
CAST(NULL AS XML) value is represented by a null
reference of type XML, not as data() == null. This is
consistent with jOOQ's general way of returning NULL from
Result and Record methods.
| Modifier and Type | Method and Description |
|---|---|
| public final @NotNull String | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | |
| public String | |
| public static final @NotNull XML | |
| public static final @NotNull XML | |
| public static final @Nullable XML |
| data | back to summary |
|---|---|
| private final String data | |
| XML | back to summary |
|---|---|
| private XML(String data) | |
| data | back to summary |
|---|---|
public final @NotNull String data()
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| valueOf | back to summary |
|---|---|
| public static final @NotNull XML valueOf(String data) Create a new
| |
| xml | back to summary |
|---|---|
| public static final @NotNull XML xml(String data) Create a new
This is the same as
| |
| xmlOrNull | back to summary |
|---|---|
| public static final @Nullable XML xmlOrNull(String data) Create a new
| |