Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.marshal.xml
Class ListStructureIO

java.lang.Object
  extended by oracle.ide.marshal.xml.XMLObjectStore
      extended by oracle.ide.marshal.xml.ListStructureIO

All Implemented Interfaces:
ObjectStore

public final class ListStructureIO
extends XMLObjectStore

Implementation of oracle.ide.marshal.ObjectStore for marshalling a ListStructure instance to XML.


Field Summary

 

Fields inherited from class oracle.ide.marshal.xml.XMLObjectStore
CLASS_ATTR, NSELEM_ATTR

 

Constructor Summary
ListStructureIO(java.lang.String nsURI, java.lang.String rootQname)
          Creates a new instance of ListStructureIO that, when saving, will write out a root element with the specified namespace URI and qualified name.

 

Method Summary
 void addXpathToFlatten(java.lang.String xpath)
          INTERNAL.
 boolean isLastLoadUsedFallback()
          INTERNAL.
 java.lang.Object load(java.net.URL url)
          Creates a new instance of an object based on its peristent state saved at the specified URL.
 boolean open(java.net.URL url, java.lang.Object obj)
          Initializes the specified object based on its persistent state that is saved at the specified URL.
 boolean save(java.net.URL url, java.lang.Object obj)
          Marshals the persistent properties of the specified object and saves the persistent form at the specified URL.

 

Methods inherited from class oracle.ide.marshal.xml.XMLObjectStore
registerTransform

 

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

 

Constructor Detail

ListStructureIO

public ListStructureIO(java.lang.String nsURI,
                       java.lang.String rootQname)
Creates a new instance of ListStructureIO that, when saving, will write out a root element with the specified namespace URI and qualified name. When loading or opening an XML file, the nsURI and rootQname parameters have no effect; ListStructureIO will load the XML regardless of what the root element is.
Parameters:
nsURI - namespace URI of the root element
rootQname - qualified name of the root element

Method Detail

load

public java.lang.Object load(java.net.URL url)
                      throws java.io.IOException
Description copied from interface: ObjectStore
Creates a new instance of an object based on its peristent state saved at the specified URL.
Throws:
java.io.IOException

open

public boolean open(java.net.URL url,
                    java.lang.Object obj)
             throws java.io.IOException
Description copied from interface: ObjectStore
Initializes the specified object based on its persistent state that is saved at the specified URL. This has the effect of reloading or reverting an object's in-memory state.
Throws:
java.io.IOException

save

public boolean save(java.net.URL url,
                    java.lang.Object obj)
             throws java.io.IOException
Description copied from interface: ObjectStore
Marshals the persistent properties of the specified object and saves the persistent form at the specified URL.
Throws:
java.io.IOException

addXpathToFlatten

public void addXpathToFlatten(java.lang.String xpath)
INTERNAL. Do not use this method. It may be removed without going through a deprecation phase.

isLastLoadUsedFallback

public boolean isLastLoadUsedFallback()
INTERNAL. Do not use this method. It may be removed without going through a deprecation phase.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.