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.
- Overrides:
getURL
in class DefaultDocument
- Following copied from interface:
oracle.ide.model.Locatable
- Returns:
- The
URL
identifying this Locatable
.
open
public void open()
throws java.io.IOException
Document
interface method. This method uses
ObjectStore
to unmarshal the file into a JavaBean
instance.
- Overrides:
open
in class DefaultDocument
- 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.
- Overrides:
close
in class DefaultDocument
- Following copied from class:
oracle.ide.model.DefaultDocument
- See Also:
Document.close()
reopen
public void reopen()
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.
- Overrides:
save
in class DefaultDocument
- See Also:
Object2Dom
setObjectStore
public void setObjectStore(ObjectStore store)
currentObjectStore
protected ObjectStore currentObjectStore()