Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.xdb
Class DirectToXMLTypeMapping

java.lang.Object
  extended by oracle.toplink.mappings.DatabaseMapping
      extended by oracle.toplink.mappings.foundation.AbstractDirectMapping
          extended by oracle.toplink.mappings.DirectToFieldMapping
              extended by oracle.toplink.xdb.DirectToXMLTypeMapping
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, oracle.toplink.mappings.RelationalMapping

public class DirectToXMLTypeMapping
extends DirectToFieldMapping

Purpose: Mapping used to map from a DOM (org.w3c.Document) or XML String into an Oracle XMLType field, in Oracle 9i XDB.

Since:
Toplink 10.1.3
See Also:
Serialized Form

Constructor Summary
DirectToXMLTypeMapping()
           
 
Method Summary
 void setShouldReadWholeDocument(boolean readWholeDocument)
          
 boolean shouldReadWholeDocument()
          
 
Methods inherited from class oracle.toplink.mappings.DirectToFieldMapping
setFieldName
 
Methods inherited from class oracle.toplink.mappings.foundation.AbstractDirectMapping
getAttributeClassification, getConverter, getFieldClassification, getFieldName, getNullValue, hasConverter, isMutable, setAttributeClassification, setConverter, setConverterClassName, setField, setFieldClassification, setFieldType, setIsMutable, setNullValue
 
Methods inherited from class oracle.toplink.mappings.DatabaseMapping
getAttributeAccessor, getAttributeName, getGetMethodName, getProperty, getReferenceDescriptor, getSetMethodName, isLazy, isOptional, isUsingMethodAccess, readOnly, readWrite, setAttributeAccessor, setAttributeName, setGetMethodName, setIsLazy, setIsOptional, setIsReadOnly, setProperty, setSetMethodName, setWeight, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectToXMLTypeMapping

public DirectToXMLTypeMapping()
Method Detail

setShouldReadWholeDocument

public void setShouldReadWholeDocument(boolean readWholeDocument)

Parameters:
boolean - - determines if the Oracle XDB DOM should be fully initialized on a read.

shouldReadWholeDocument

public boolean shouldReadWholeDocument()

Returns:
boolean - returns true if currently initializing DOMs on reads.

Copyright © 1998, 2010, Oracle. All Rights Reserved.