public class LibraryDataNode extends Node
LOG_READONLY
Constructor and Description |
---|
LibraryDataNode()
Default constructor.
|
LibraryDataNode(java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getObjectStoreTarget() |
java.net.URL |
getURL()
We override the getURL accessor here to mark the URL property
as transient.
|
protected ObjectStore |
newObjectStore() |
protected void |
openImpl()
This method uses
ObjectStore to unmarshal the file into a
JavaBean instance. |
protected void |
saveImpl()
Document interface method. |
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getChildren, getData, getIcon, getInputStream, getLongLabel, getShortLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, isDirty, isLoaded, isLockHeld, isMigrating, isNew, isOpen, isReadLocked, isReadLockHeld, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isTrackingThreadNodeUsage, isWriteLocked, isWriteLockHeld, lockCount, markDirty, markDirtyImpl, mayHaveChildren, nodeLock, notifyObservers, open, readLock, readLockCount, readLockInterruptibly, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runUnderReadLock, runUnderWriteLock, save, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, toString, tryRunUnderReadLock, tryRunUnderWriteLock, unsetMigrating, upgradeLock, upgradeUnlock, urlReadOnlyChanged, writeLock, writeLockCount, writeLockInterruptibly, writeUnlock
public LibraryDataNode()
public LibraryDataNode(java.net.URL url)
public java.net.URL getURL() throws TransientMarker
getURL
in interface Locatable
getURL
in class Node
URL
identifying this Locatable
.TransientMarker
protected void openImpl() throws java.io.IOException
ObjectStore
to unmarshal the file into a
JavaBean instance. In addition, subclasses can call this method
and indicate that the method should not send OBJECT_OPENED notification
to observers. This method sends OBJECT_OPENED notification in an
invoke later event.openImpl
in class Node
java.io.IOException
- if an I/O error occurred while openingObjectStore
protected void saveImpl() throws java.io.IOException
Document
interface method. This method uses
Object2Dom
to marshal the underlying JavaBean into an XML
form.saveImpl
in class Node
java.io.IOException
- if an I/O error occurred while savingObject2Dom
protected ObjectStore newObjectStore()
protected java.lang.Object getObjectStoreTarget()