Skip navigation links

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

B32476-02


oracle.toplink.xml
Interface XMLFileAccessorFilePolicy

All Known Implementing Classes:
DefaultXMLFileAccessorFilePolicy, DefaultXMLZipFileAccessorFilePolicy

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by oracle.toplink.ox

public interface XMLFileAccessorFilePolicy

This policy is used by XMLFileAccessor to build the files that will be wrapped in XML streams.

Since:
TOPLink/Java 4.5

Method Summary
 void createFileSource(java.lang.String rootElementName)
          Deprecated. If necessary, create the source that holds all the files for the XML documents with the specified root element name.
 void dropFileSource(java.lang.String rootElementName)
          Deprecated. If necessary, drop the source that holds all the files for the XML documents with the specified root element name.
 java.util.Enumeration getAllFiles(java.lang.String rootElementName)
          Deprecated. Return an enumeration on a every file for the specified root element name.
 java.io.File getFile(java.lang.String rootElementName, Record row, java.util.Vector orderedPrimaryKeyElements)
          Deprecated. Return a file for the specified root element name and primary key.
 void validateConfiguration()
          Deprecated. The accessor is connecting; if necessary, validate the policy's settings.

 

Method Detail

createFileSource

void createFileSource(java.lang.String rootElementName)
                      throws XMLDataStoreException
Deprecated. 
If necessary, create the source that holds all the files for the XML documents with the specified root element name.
Throws:
XMLDataStoreException

dropFileSource

void dropFileSource(java.lang.String rootElementName)
                    throws XMLDataStoreException
Deprecated. 
If necessary, drop the source that holds all the files for the XML documents with the specified root element name.
Throws:
XMLDataStoreException

getAllFiles

java.util.Enumeration getAllFiles(java.lang.String rootElementName)
                                  throws XMLDataStoreException
Deprecated. 
Return an enumeration on a every file for the specified root element name.
Throws:
XMLDataStoreException

getFile

java.io.File getFile(java.lang.String rootElementName,
                     Record row,
                     java.util.Vector orderedPrimaryKeyElements)
                     throws XMLDataStoreException
Deprecated. 
Return a file for the specified root element name and primary key. The name of this file will typically take the form of [base dir]/[root element]/[key].xml
Throws:
XMLDataStoreException

validateConfiguration

void validateConfiguration()
                           throws XMLDataStoreException
Deprecated. 
The accessor is connecting; if necessary, validate the policy's settings.
Throws:
XMLDataStoreException

Skip navigation links

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