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

B32476-03

oracle.toplink.ox
Class XMLLogin

java.lang.Object
  extended by oracle.toplink.sessions.DatasourceLogin
      extended by oracle.toplink.ox.XMLLogin
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Login

public class XMLLogin
extends DatasourceLogin

In OX, the platform determines which parsing method will be used, DOM vs SAX.

Code Sample
XMLLogin xmlLogin = new XMLLogin(new oracle.toplink.ox.platform.DOMPlatform);
Project myProject = new MyTopLinkProject(xmlLogin)

See Also:
SAXPlatform, oracle.toplink.ox.platform.DOMPlatform, Serialized Form

Field Summary
 
Fields inherited from class oracle.toplink.sessions.DatasourceLogin
CONCURRENT_READ_WRITE, SYNCHRONIZED_READ_ON_WRITE, SYNCHRONIZED_WRITE, SYNCRONIZED_OBJECT_LEVEL_READ_WRITE, SYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASE, versionString
 
Constructor Summary
XMLLogin()
          Default constructor.
XMLLogin(oracle.toplink.internal.databaseaccess.Platform platform)
          Constructor, create a new XMLLogin based on the given platform.
 
Method Summary
 DocumentPreservationPolicy getDocumentPreservationPolicy()
           
 boolean hasEqualNamespaceResolvers()
           
 void setDocumentPreservationPolicy(DocumentPreservationPolicy policy)
           
 void setEqualNamespaceResolvers(boolean equalNRs)
           
 java.lang.String toString()
          Return a String representation of the object.
 
Methods inherited from class oracle.toplink.sessions.DatasourceLogin
addSequence, dontUseExternalConnectionPooling, dontUseExternalTransactionController, getCacheTransactionIsolation, getConnector, getDatasourcePlatform, getDefaultSequence, getPassword, getProperty, getSequence, getSequencePreallocationSize, getSequences, getTableQualifier, getUserName, getVersion, isConnectionHealthValidatedOnError, removeAllSequences, removeProperty, removeSequence, setCacheTransactionIsolation, setConnector, setDatasourcePlatform, setDefaultNullValue, setDefaultSequence, setEncryptedPassword, setEncryptionClassName, setPassword, setProperties, setProperty, setSelectSequenceNumberQuery, setSequencePreallocationSize, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, setUserName, setUsesExternalConnectionPooling, setUsesExternalTransactionController, shouldUseExternalConnectionPooling, shouldUseExternalTransactionController, useExternalConnectionPooling, useExternalTransactionController, usePlatform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLLogin

public XMLLogin()
Default constructor. Sets the platform to be the default platform which is oracle.toplink.ox.platform.SAXPlatform.


XMLLogin

public XMLLogin(oracle.toplink.internal.databaseaccess.Platform platform)
Constructor, create a new XMLLogin based on the given platform. Valid platforms are instances of oracle.toplink.ox.platform.DOMPlaform and instances of oracle.toplink.ox.platform.SAXPlatform.

Parameters:
platform - The platform to base this login on
Method Detail

toString

public java.lang.String toString()
Return a String representation of the object.

Overrides:
toString in class DatasourceLogin
Returns:
a string representation of the receiver

getDocumentPreservationPolicy

public DocumentPreservationPolicy getDocumentPreservationPolicy()

setDocumentPreservationPolicy

public void setDocumentPreservationPolicy(DocumentPreservationPolicy policy)

setEqualNamespaceResolvers

public void setEqualNamespaceResolvers(boolean equalNRs)

hasEqualNamespaceResolvers

public boolean hasEqualNamespaceResolvers()

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