Package org.hibernate.dialect
Class XmlHelper
- java.lang.Object
-
- org.hibernate.dialect.XmlHelper
-
@Internal public class XmlHelper extends Object
A Helper for serializing and deserializing XML, based on anEmbeddableMappingType
.
-
-
Constructor Summary
Constructors Constructor Description XmlHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <X> X
fromString(EmbeddableMappingType embeddableMappingType, String string, boolean returnEmbeddable, WrapperOptions options)
static String
toString(EmbeddableMappingType embeddableMappingType, Object value, WrapperOptions options)
-
-
-
Field Detail
-
ROOT_TAG
public static final String ROOT_TAG
The root tag under which values are placed as XML elements.- See Also:
- Constant Field Values
-
-
Method Detail
-
fromString
public static <X> X fromString(EmbeddableMappingType embeddableMappingType, String string, boolean returnEmbeddable, WrapperOptions options) throws SQLException
- Throws:
SQLException
-
toString
public static String toString(EmbeddableMappingType embeddableMappingType, Object value, WrapperOptions options)
-
-