Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.ox
Class XMLLogin

java.lang.Object
  extended byoracle.toplink.sessions.DatasourceLogin
      extended byoracle.toplink.ox.XMLLogin

All Implemented Interfaces:
java.lang.Cloneable, Login, java.io.Serializable

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, 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(Platform platform)
          Constructor, create a new XMLLogin based on the given platform.

 

Method Summary
 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, 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(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

Skip navigation links

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