Top Description Fields Constructors Methods
org.eclipse.persistence.oxm

public Class XMLLogin

extends DatasourceLogin
implements Login<Platform>
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.internal.oxm.mappings.Login, org.eclipse.persistence.core.sessions.CoreLogin
Imports
org.eclipse.persistence.internal.databaseaccess.*, org.eclipse.persistence.internal.helper.Helper, org.eclipse.persistence.internal.oxm.mappings.Login, org.eclipse.persistence.oxm.documentpreservation.DocumentPreservationPolicy, org.eclipse.persistence.oxm.platform.SAXPlatform, org.eclipse.persistence.sessions.DatasourceLogin

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

Code Sample
XMLLogin xmlLogin = new XMLLogin(new org.eclipse.persistence.oxm.platform.DOMPlatform);
Project myProject = new MyTopLinkProject(xmlLogin)

See Also
org.eclipse.persistence.oxm.platform.SAXPlatform, org.eclipse.persistence.oxm.platform.DOMPlatform

Field Summary

Modifier and TypeField and Description
private DocumentPreservationPolicy
private boolean
Inherited from org.eclipse.persistence.sessions.DatasourceLogin:
cacheTransactionIsolationCONCURRENT_READ_WRITEconnectorplatformpropertiesSYNCHRONIZED_READ_ON_WRITESYNCHRONIZED_WRITESYNCRONIZED_OBJECT_LEVEL_READ_WRITESYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASEusesExternalConnectionPoolingusesExternalTransactionControllerversionString

Constructor Summary

AccessConstructor and Description
public
XMLLogin()

Default constructor.

public
XMLLogin(Platform
The platform to base this login on
platform
)

Constructor, create a new XMLLogin based on the given platform.

Method Summary

Modifier and TypeMethod and Description
public Accessor

Returns:

an instance of org.eclipse.persistence.internal.oxm.XMLAccessor
buildAccessor
()

Implements org.eclipse.persistence.sessions.Login.buildAccessor.

INTERNAL: Returns the appropriate accessor
public DocumentPreservationPolicy
public boolean
public void
public void
setEqualNamespaceResolvers(boolean equalNRs)

public String

Returns:

a string representation of the receiver
toString
()

Overrides org.eclipse.persistence.sessions.DatasourceLogin.toString.

Return a String representation of the object.
Inherited from org.eclipse.persistence.sessions.DatasourceLogin:
addSequencecloneconnectToDatasourcedontUseExternalConnectionPoolingdontUseExternalTransactionControllergetCacheTransactionIsolationgetConnectorgetDatasourcePlatformgetDefaultSequencegetDefaultSequenceToWritegetPasswordgetPlatformgetPlatformClassNamegetPropertiesgetPropertygetSecurableObjectHoldergetSequencegetSequencesgetSequencesToWritegetTableQualifiergetUserNamegetVersionisConnectionHealthValidatedOnErrorremoveAllSequencesremovePropertyremoveSequencesetCacheTransactionIsolationsetConnectorsetDatasourcePlatformsetDefaultNullValuesetDefaultSequencesetEncryptedPasswordsetEncryptionClassNamesetPasswordsetPlatformsetPlatformClassNamesetPlatformClassNamesetPropertiessetPropertysetSequencessetTableQualifiersetTimestampQuerysetUserNamesetUsesExternalConnectionPoolingsetUsesExternalTransactionControllershouldAllowConcurrentReadWriteshouldSynchronizedReadOnWriteshouldSynchronizeObjectLevelReadWriteshouldSynchronizeObjectLevelReadWriteDatabaseshouldSynchronizeWritesshouldUseExternalConnectionPoolingshouldUseExternalTransactionControlleruseExternalConnectionPoolinguseExternalTransactionControllerusePlatform

Field Detail

documentPreservationPolicyback to summary
private DocumentPreservationPolicy documentPreservationPolicy
equalNamespaceResolversback to summary
private boolean equalNamespaceResolvers

Constructor Detail

XMLLoginback to summary
public XMLLogin()

Default constructor. Sets the platform to be the default platform which is org.eclipse.persistence.oxm.platform.SAXPlatform.

XMLLoginback to summary
public XMLLogin(Platform platform)

Constructor, create a new XMLLogin based on the given platform. Valid platforms are instances of org.eclipse.persistence.oxm.platform.DOMPlaform and instances of org.eclipse.persistence.oxm.platform.SAXPlatform.

Parameters
platform:Platform

The platform to base this login on

Method Detail

buildAccessorback to summary
public Accessor buildAccessor()

Implements org.eclipse.persistence.sessions.Login.buildAccessor.

INTERNAL: Returns the appropriate accessor

Returns:Accessor

an instance of org.eclipse.persistence.internal.oxm.XMLAccessor

Annotations
@Override
getDocumentPreservationPolicyback to summary
public DocumentPreservationPolicy getDocumentPreservationPolicy()

Implements org.eclipse.persistence.internal.oxm.mappings.Login.getDocumentPreservationPolicy.

Annotations
@Override
hasEqualNamespaceResolversback to summary
public boolean hasEqualNamespaceResolvers()

Implements org.eclipse.persistence.internal.oxm.mappings.Login.hasEqualNamespaceResolvers.

Annotations
@Override
setDocumentPreservationPolicyback to summary
public void setDocumentPreservationPolicy(DocumentPreservationPolicy policy)

Implements org.eclipse.persistence.internal.oxm.mappings.Login.setDocumentPreservationPolicy.

Annotations
@Override
setEqualNamespaceResolversback to summary
public void setEqualNamespaceResolvers(boolean equalNRs)
toStringback to summary
public String toString()

Overrides org.eclipse.persistence.sessions.DatasourceLogin.toString.

Return a String representation of the object.

Returns:String

a string representation of the receiver

Annotations
@Override