|
Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated) 11g Release 1 (11.1.1) B32476-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.xml.zip.XMLZipFileStreamPolicy
oracle.toplink.ox
public class XMLZipFileStreamPolicy
This implementation of the XMLStreamPolicy
interface
provides streams to XML documents stored in ZIP file archives.
It also controls the access to these ZIP files: adding, deleting,
and updating the entries in the ZIP files.
XMLZipFileAccessor
,
Serialized FormConstructor Summary | |
---|---|
XMLZipFileStreamPolicy(java.io.File file,
java.util.Enumeration zipEntryNames)
Deprecated. Construct a policy for the specified ZIP file and entry. |
|
XMLZipFileStreamPolicy(java.io.File file,
java.lang.String zipEntryName)
Deprecated. Construct a policy for the specified ZIP file and entry. |
|
XMLZipFileStreamPolicy(java.lang.String fileName,
java.util.Enumeration zipEntryNames)
Deprecated. Construct a policy for the specified ZIP file and entries. |
|
XMLZipFileStreamPolicy(java.lang.String fileName,
java.lang.String zipEntryName)
Deprecated. Construct a policy for the specified ZIP file and entry. |
Method Summary | |
---|---|
java.lang.Integer |
deleteStream(java.lang.String rootElementName,
Record row,
java.util.Vector orderedPrimaryKeyElements,
Accessor accessor)
Deprecated. This implementation loops through the ZIP file, copying its entries into a new ZIP file, skipping the entry to be deleted. |
java.io.Reader |
getExistenceCheckStream(java.lang.String rootElementName,
Record row,
java.util.Vector orderedPrimaryKeyElements,
Accessor accessor)
Deprecated. Return the ZIP file entry wrapped in a stream. |
java.io.Writer |
getExistingWriteStream(java.lang.String rootElementName,
Record row,
java.util.Vector orderedPrimaryKeyElements,
Accessor accessor)
Deprecated. This implementation removes and adds an entry to the ZIP file and positions the stream at the end of the ZIP file. |
java.io.Writer |
getNewWriteStream(java.lang.String rootElementName,
Record row,
java.util.Vector orderedPrimaryKeyElements,
Accessor accessor)
Deprecated. This implementation adds an entry to the ZIP file and positions the stream at the end of the ZIP file. |
java.io.Reader |
getReadStream(java.lang.String rootElementName,
Record row,
java.util.Vector orderedPrimaryKeyElements,
Accessor accessor)
Deprecated. Return the ZIP file entry wrapped in a stream. |
java.util.Enumeration |
getReadStreams(java.lang.String rootElementName,
Accessor accessor)
Deprecated. Return the ZIP file entries wrapped in streams. |
java.util.Enumeration |
getReadStreams(java.lang.String rootElementName,
java.util.Vector foreignKeys,
java.util.Vector orderedForeignKeyElements,
Accessor accessor)
Deprecated. Return the ZIP file entries wrapped in streams. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLZipFileStreamPolicy(java.io.File file, java.lang.String zipEntryName)
public XMLZipFileStreamPolicy(java.lang.String fileName, java.lang.String zipEntryName)
public XMLZipFileStreamPolicy(java.io.File file, java.util.Enumeration zipEntryNames)
public XMLZipFileStreamPolicy(java.lang.String fileName, java.util.Enumeration zipEntryNames)
Method Detail |
---|
public java.lang.Integer deleteStream(java.lang.String rootElementName, Record row, java.util.Vector orderedPrimaryKeyElements, Accessor accessor) throws XMLDataStoreException
deleteStream
in interface XMLStreamPolicy
XMLDataStoreException
public java.io.Reader getExistenceCheckStream(java.lang.String rootElementName, Record row, java.util.Vector orderedPrimaryKeyElements, Accessor accessor) throws XMLDataStoreException
getExistenceCheckStream
in interface XMLStreamPolicy
XMLDataStoreException
public java.io.Writer getExistingWriteStream(java.lang.String rootElementName, Record row, java.util.Vector orderedPrimaryKeyElements, Accessor accessor) throws XMLDataStoreException
getExistingWriteStream
in interface XMLStreamPolicy
XMLDataStoreException
public java.io.Writer getNewWriteStream(java.lang.String rootElementName, Record row, java.util.Vector orderedPrimaryKeyElements, Accessor accessor) throws XMLDataStoreException
getNewWriteStream
in interface XMLStreamPolicy
XMLDataStoreException
public java.io.Reader getReadStream(java.lang.String rootElementName, Record row, java.util.Vector orderedPrimaryKeyElements, Accessor accessor) throws XMLDataStoreException
getReadStream
in interface XMLStreamPolicy
XMLDataStoreException
public java.util.Enumeration getReadStreams(java.lang.String rootElementName, java.util.Vector foreignKeys, java.util.Vector orderedForeignKeyElements, Accessor accessor) throws XMLDataStoreException
getReadStreams
in interface XMLStreamPolicy
XMLDataStoreException
public java.util.Enumeration getReadStreams(java.lang.String rootElementName, Accessor accessor) throws XMLDataStoreException
getReadStreams
in interface XMLStreamPolicy
XMLDataStoreException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |