org.hibernate.type
Interface XmlRepresentableType<T>
- All Known Implementing Classes: 
- AbstractBynaryType, AbstractCharArrayType, AbstractLongBinaryType, AbstractLongStringType, AbstractSingleColumnStandardBasicType, AbstractStandardBasicType, AdaptedImmutableType, BigDecimalType, BigIntegerType, BinaryType, BlobType, BooleanType, ByteType, CalendarDateType, CalendarType, CharacterArrayClobType, CharacterArrayType, CharacterType, CharArrayType, CharBooleanType, ClassType, ClobType, CurrencyType, DateType, DbTimestampType, DoubleType, FloatType, ImageType, ImmutableType, IntegerType, LobType, LocaleType, LongType, MaterializedBlobType, MaterializedClobType, MutableType, NullableType, NumericBooleanType, PostgresUUIDType, PrimitiveCharacterArrayClobType, SerializableType, ShortType, StringType, TextType, TimestampType, TimeType, TimeZoneType, TrueFalseType, UrlType, UUIDBinaryType, UUIDCharType, WrappedMaterializedBlobType, WrapperBinaryType, YesNoType
- public interface XmlRepresentableType<T> 
Additional, optional contract for types whose values can be represented as XML text (either as attribute or
 element value).
- Author:
- Steve Ebersole
 
toXMLString
String toXMLString(T value,
                   SessionFactoryImplementor factory)
                   throws HibernateException
- 
- Throws:
- HibernateException
 
fromXMLString
T fromXMLString(String xml,
                Mapping factory)
                throws HibernateException
- 
- Throws:
- HibernateException
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.