All Implemented Interfaces:
Serializable, Cloneable, CoreLogin<Platform>, Login<Platform>, Login

public class XMLLogin extends DatasourceLogin implements Login<Platform>
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:
  • Constructor Details

    • XMLLogin

      public XMLLogin()
      Default constructor. Sets the platform to be the default platform which is org.eclipse.persistence.oxm.platform.SAXPlatform.
    • XMLLogin

      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 - The platform to base this login on
  • Method Details