Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.platform.xml
Class XMLPlatformFactory

java.lang.Object
  extended by org.eclipse.persistence.platform.xml.XMLPlatformFactory


public class XMLPlatformFactory
extends java.lang.Object

Field Summary
private static XMLPlatformFactory instance
           
static java.lang.String JAXP_PLATFORM_CLASS_NAME
           
static java.lang.String XDK_PLATFORM_CLASS_NAME
           
static java.lang.String XML_PLATFORM_PROPERTY
           
private  java.lang.Class xmlPlatformClass
           

 

Constructor Summary
private XMLPlatformFactory()
           

 

Method Summary
static XMLPlatformFactory getInstance()
          INTERNAL: Return the singleton instance of XMLPlatformContext.
 XMLPlatform getXMLPlatform()
          INTERNAL: Return the XMLPlatform based on the toplink.xml.platform System property.
 java.lang.Class getXMLPlatformClass()
          INTERNAL: Return the implementation class for the XMLPlatform.
 void setXMLPlatformClass(java.lang.Class xmlPlatformClass)
          PUBLIC: Set the implementation of XMLPlatform.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

XML_PLATFORM_PROPERTY

public static final java.lang.String XML_PLATFORM_PROPERTY
See Also:
Constant Field Values

XDK_PLATFORM_CLASS_NAME

public static final java.lang.String XDK_PLATFORM_CLASS_NAME
See Also:
Constant Field Values

JAXP_PLATFORM_CLASS_NAME

public static final java.lang.String JAXP_PLATFORM_CLASS_NAME
See Also:
Constant Field Values

instance

private static XMLPlatformFactory instance

xmlPlatformClass

private java.lang.Class xmlPlatformClass

Constructor Detail

XMLPlatformFactory

private XMLPlatformFactory()

Method Detail

getInstance

public static XMLPlatformFactory getInstance()
                                      throws XMLPlatformException
INTERNAL: Return the singleton instance of XMLPlatformContext.
Returns:
the the singleton instance of XMLPlatformContext.
Throws:
XMLPlatformException

getXMLPlatformClass

public java.lang.Class getXMLPlatformClass()
                                    throws XMLPlatformException
INTERNAL: Return the implementation class for the XMLPlatform.
Returns:
the implementation class for the XMLPlatform.
Throws:
XMLPlatformException

setXMLPlatformClass

public void setXMLPlatformClass(java.lang.Class xmlPlatformClass)
PUBLIC: Set the implementation of XMLPlatform.

getXMLPlatform

public XMLPlatform getXMLPlatform()
                           throws XMLPlatformException
INTERNAL: Return the XMLPlatform based on the toplink.xml.platform System property.
Returns:
an instance of XMLPlatform
Throws:
XMLPlatformException

Skip navigation links

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