public final class LegacyLibraryList extends LibraryDataNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE_URI |
static java.lang.String |
ROOT_TAG |
LOG_READONLY
Constructor and Description |
---|
LegacyLibraryList() |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getAliasMap() |
Attributes |
getAttributes()
This method returns an
Attributes object that encodes the
attributes of the Element . |
java.util.Iterator |
getChildren()
This method is part of the
Element interface to
provide a convenient way of getting an Iterator over any
contained child Element s without having to test the
object's type with the instanceof operator or having
to downcast to a more specific type. |
java.util.List |
getJdkList() |
java.util.List |
getLibraryList() |
boolean |
isReadOnly()
Returns
true if the Node is read-only. |
boolean |
mayHaveChildren()
This method is part of the
Element interface to
provide a convenient way of determining whether an object may
have children without having to test the object's type with the
instanceof operator or having to downcast to a
more specific type. |
protected ObjectStore |
newObjectStore() |
void |
setAliasMap(java.util.Map aliasMap) |
void |
setJdkList(java.util.List jdks) |
void |
setLibraryList(java.util.List libraries) |
getObjectStoreTarget, getURL, openImpl, saveImpl
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getData, getIcon, getInputStream, getLongLabel, getShortLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, isDirty, isLoaded, isLockHeld, isMigrating, isNew, isOpen, isReadLocked, isReadLockHeld, isReadOrWriteLocked, isTrackedInNodeCache, isTrackingThreadNodeUsage, isWriteLocked, isWriteLockHeld, lockCount, markDirty, markDirtyImpl, 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 static final java.lang.String NAMESPACE_URI
public static final java.lang.String ROOT_TAG
public java.util.List getLibraryList()
public void setLibraryList(java.util.List libraries)
public java.util.List getJdkList()
public void setJdkList(java.util.List jdks)
public java.util.Map getAliasMap()
public void setAliasMap(java.util.Map aliasMap)
public java.util.Iterator getChildren()
Element
Element
interface to
provide a convenient way of getting an Iterator
over any
contained child Element
s without having to test the
object's type with the instanceof
operator or having
to downcast to a more specific type.
An implementation of Element
that represents a leaf
in a tree structure should return null
from this
method. An implementation of Element
that could
represent a non-leaf in a tree structure should return either an
Iterator
over the child Element
s or
null
if there are no children.
getChildren
in interface Element
getChildren
in class Node
Iterator
over any child Element
s
contained by this Element
. If there are no children,
null
is returned.public boolean mayHaveChildren()
Element
Element
interface to
provide a convenient way of determining whether an object may
have children without having to test the object's type with the
instanceof
operator or having to downcast to a
more specific type.
An implementation of Element
that represents a leaf
in a tree structure should return false
from this
method. An implementation of Element
that could
represent a non-leaf in a tree structure should return
true
from this method, even if it does not currently
contain any children.
mayHaveChildren
in interface Element
mayHaveChildren
in class Node
true
if this Element
may contain
child Element
s.public Attributes getAttributes()
Element
Attributes
object that encodes the
attributes of the Element
. Changing the attribute
settings on the return object changes the element attributes.
Subclasses should use their super class attributes object to
define their own attributes. This allows subclasses to
inherit their super class attributes. If a subclass does not
wish to inherit attributes, they should first call
getAttributes().clear()
and define new attributes.getAttributes
in interface Element
getAttributes
in class Node
public boolean isReadOnly()
Node
true
if the Node is read-only.isReadOnly
in class Node
protected ObjectStore newObjectStore()
newObjectStore
in class LibraryDataNode