站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

EnhancedUserType (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.usertype
Interface EnhancedUserType

All Superinterfaces:
UserType

public interface EnhancedUserType
extends UserType

A custom type that may function as an identifier or discriminator type, or may be marshalled to and from an XML document

Author:
Gavin King

Method Summary
 Object fromXMLString(String xmlValue)
          Parse a string representation of this value, as it appears in an XML document
 String objectToSQLString(Object value)
          Return an SQL literal representation of the value
 String toXMLString(Object value)
          Return a string representation of this value, as it should appear in an XML document
 
Methods inherited from interface org.hibernate.usertype.UserType
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, sqlTypes
 

Method Detail

objectToSQLString

public String objectToSQLString(Object value)
Return an SQL literal representation of the value


toXMLString

public String toXMLString(Object value)
Return a string representation of this value, as it should appear in an XML document


fromXMLString

public Object fromXMLString(String xmlValue)
Parse a string representation of this value, as it appears in an XML document