Skip navigation links
oracle.toplink.ox
Class XMLLogin
java.lang.Object
oracle.toplink.sessions.DatasourceLogin
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
Constructor Summary |
XMLLogin()
Default constructor. |
XMLLogin(oracle.toplink.internal.databaseaccess.Platform platform)
Constructor, create a new XMLLogin based on the given platform. |
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 |
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
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()
Skip navigation links