oracle.ide.model
Class DataNode
java.lang.Object
oracle.ide.model.DefaultDisplayable
oracle.ide.model.DefaultElement
oracle.ide.model.DefaultDocument
oracle.ide.model.DefaultNode
oracle.ide.model.DataNode
- All Implemented Interfaces:
- Category, Data, Dirtyable, Displayable, Document, Element, LazyLoadable, Locatable, Node, Subject
- Direct Known Subclasses:
- DataContainer, JLibraryList
- public class DataNode
- extends DefaultNode
| Methods inherited from class oracle.ide.model.DefaultDocument |
attach, copyToImpl, createSubject, detach, ensureOpen, equalsImpl, getInputStream, getLongLabel, getShortLabel, getSubject, getTimestamp, getTimestampDirectly, getToolTipText, isDirty, isNew, isOpen, isReadOnly, markDirty, notifyObservers, refreshTimestamp, setOpen, setTimestampDirectly |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.ide.model.Data |
getData |
_objectStore
protected transient ObjectStore _objectStore
DataNode
public DataNode()
- Default constructor. Required for JavaBean status.
DataNode
public DataNode(java.net.URL url)
getURL
public java.net.URL getURL()
throws TransientMarker
- We override the getURL accessor here to mark the URL property
as transient.
- Specified by:
getURL in interface Locatable- Overrides:
getURL in class DefaultDocument
- Throws:
TransientMarker- See Also:
Locatable.getURL()
open
public void open()
throws java.io.IOException
Document interface method. This method uses
ObjectStore to unmarshal the file into a JavaBean
instance.
- Specified by:
open in interface Document- Overrides:
open in class DefaultDocument
- Throws:
java.io.IOException- See Also:
ObjectStore
close
public void close()
- Description copied from interface:
Document
- Closes the
Document and unloads any associated data.
When this method returns, the state of the Document
object should be equivalent to when the Document
object has just been instantiated but not yet opened.
- Specified by:
close in interface Document- Overrides:
close in class DefaultDocument
- See Also:
Document.close()
reopen
public void reopen()
throws java.io.IOException
- Throws:
java.io.IOException
save
public void save(boolean shallow)
throws java.io.IOException
Document interface method. This method uses
Object2Dom to marshal the underlying JavaBean into an XML
form.
- Specified by:
save in interface Document- Overrides:
save in class DefaultDocument
- Throws:
java.io.IOException- See Also:
Object2Dom
setObjectStore
public void setObjectStore(ObjectStore store)
currentObjectStore
protected ObjectStore currentObjectStore()
Copyright ©1997, 2003, Oracle. All rights reserved.