|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sessions.DatasourceLogin org.eclipse.persistence.oxm.XMLLogin
public class XMLLogin
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)
SAXPlatform
,
DOMPlatform
,
Serialized FormField Summary |
---|
Fields inherited from class org.eclipse.persistence.sessions.DatasourceLogin |
---|
cacheTransactionIsolation, CONCURRENT_READ_WRITE, connector, platform, properties, SYNCHRONIZED_READ_ON_WRITE, SYNCHRONIZED_WRITE, SYNCRONIZED_OBJECT_LEVEL_READ_WRITE, SYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASE, usesExternalConnectionPooling, usesExternalTransactionController, versionString |
Constructor Summary | |
---|---|
XMLLogin()
Default constructor. |
|
XMLLogin(org.eclipse.persistence.internal.databaseaccess.Platform platform)
Constructor, create a new XMLLogin based on the given platform. |
Method Summary | |
---|---|
org.eclipse.persistence.internal.databaseaccess.Accessor |
buildAccessor()
INTERNAL: Returns the appropriate accessor |
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 java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XMLLogin()
public XMLLogin(org.eclipse.persistence.internal.databaseaccess.Platform platform)
platform
- The platform to base this login onMethod Detail |
---|
public org.eclipse.persistence.internal.databaseaccess.Accessor buildAccessor()
public java.lang.String toString()
toString
in class DatasourceLogin
public DocumentPreservationPolicy getDocumentPreservationPolicy()
public void setDocumentPreservationPolicy(DocumentPreservationPolicy policy)
public void setEqualNamespaceResolvers(boolean equalNRs)
public boolean hasEqualNamespaceResolvers()
|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |