- java.lang.Object
-
- org.eclipse.persistence.platform.xml.XMLPlatformFactory
-
public class XMLPlatformFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringJAXP_PLATFORM_CLASS_NAMEstatic StringXDK_PLATFORM_CLASS_NAMEstatic StringXML_PLATFORM_PROPERTY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XMLPlatformFactorygetInstance()INTERNAL: Return the singleton instance of XMLPlatformContext.XMLPlatformgetXMLPlatform()INTERNAL: Return the XMLPlatform based on the toplink.xml.platform System property.Class<? extends XMLPlatform>getXMLPlatformClass()INTERNAL: Return the implementation class for the XMLPlatform.voidsetXMLPlatformClass(Class<? extends XMLPlatform> xmlPlatformClass)PUBLIC: Set the implementation of XMLPlatform.
-
-
-
Field Detail
-
XML_PLATFORM_PROPERTY
public static final String XML_PLATFORM_PROPERTY
- See Also:
- Constant Field Values
-
XDK_PLATFORM_CLASS_NAME
public static final String XDK_PLATFORM_CLASS_NAME
- See Also:
- Constant Field Values
-
JAXP_PLATFORM_CLASS_NAME
public static final String JAXP_PLATFORM_CLASS_NAME
- See Also:
- Constant Field Values
-
-
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 Class<? extends XMLPlatform> getXMLPlatformClass() throws XMLPlatformException
INTERNAL: Return the implementation class for the XMLPlatform.- Returns:
- the implementation class for the XMLPlatform.
- Throws:
XMLPlatformException
-
setXMLPlatformClass
public void setXMLPlatformClass(Class<? extends XMLPlatform> 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
-
-