org.springframework.data.jdbc.support.oracle
Class OracleXmlObjectMappingHandler

java.lang.Object
  extended by org.springframework.data.jdbc.support.oracle.OracleXmlHandler
      extended by org.springframework.data.jdbc.support.oracle.OracleXmlObjectMappingHandler
All Implemented Interfaces:
SqlXmlHandler, SqlXmlObjectMappingHandler

public class OracleXmlObjectMappingHandler
extends OracleXmlHandler
implements SqlXmlObjectMappingHandler

Implementation of the SqlXmlObjectMappingHandler interface. Provides database specific implementations for handling XML object mapping to fields in a database.

Since:
1.0
See Also:
SqlXmlObjectMappingHandler, SqlXmlHandler

Constructor Summary
OracleXmlObjectMappingHandler()
           
 
Method Summary
 Marshaller getMarshaller()
           
 Unmarshaller getUnmarshaller()
           
 Object getXmlAsObject(ResultSet rs, int columnIndex)
           
 Object getXmlAsObject(ResultSet rs, String columnName)
           
 SqlXmlValue newMarshallingSqlXmlValue(Object value)
           
 void setMarshaller(Marshaller marshaller)
           
 void setUnmarshaller(Unmarshaller unmarshaller)
           
 
Methods inherited from class org.springframework.data.jdbc.support.oracle.OracleXmlHandler
getXmlAsBinaryStream, getXmlAsBinaryStream, getXmlAsCharacterStream, getXmlAsCharacterStream, getXmlAsSource, getXmlAsSource, getXmlAsString, getXmlAsString, newSqlXmlValue, newSqlXmlValue, newSqlXmlValue, newSqlXmlValue, newSqlXmlValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.jdbc.support.xml.SqlXmlHandler
getXmlAsBinaryStream, getXmlAsBinaryStream, getXmlAsCharacterStream, getXmlAsCharacterStream, getXmlAsSource, getXmlAsSource, getXmlAsString, getXmlAsString, newSqlXmlValue, newSqlXmlValue, newSqlXmlValue, newSqlXmlValue, newSqlXmlValue
 

Constructor Detail

OracleXmlObjectMappingHandler

public OracleXmlObjectMappingHandler()
Method Detail

getMarshaller

public Marshaller getMarshaller()

setMarshaller

public void setMarshaller(Marshaller marshaller)

getUnmarshaller

public Unmarshaller getUnmarshaller()

setUnmarshaller

public void setUnmarshaller(Unmarshaller unmarshaller)

getXmlAsObject

public Object getXmlAsObject(ResultSet rs,
                             String columnName)
                      throws SQLException
Specified by:
getXmlAsObject in interface SqlXmlObjectMappingHandler
Throws:
SQLException

getXmlAsObject

public Object getXmlAsObject(ResultSet rs,
                             int columnIndex)
                      throws SQLException
Specified by:
getXmlAsObject in interface SqlXmlObjectMappingHandler
Throws:
SQLException

newMarshallingSqlXmlValue

public SqlXmlValue newMarshallingSqlXmlValue(Object value)
Specified by:
newMarshallingSqlXmlValue in interface SqlXmlObjectMappingHandler