public abstract class ItemInfoImpl extends java.lang.Object implements ItemInfo, java.io.Serializable
ItemInfoImpl is a base class for ItemInfo
implementations.| Constructor and Description |
|---|
ItemInfoImpl(NodeId parentId,
Name name,
Path path,
boolean isNode)
Deprecated.
Use
ItemInfoImpl(Path, boolean) instead. The
parentId is not used any more and the corresponding getter has been
removed. |
ItemInfoImpl(Path path,
boolean isNode)
Creates a new item info from the given name, path and boolean flag.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
denotesNode()
Returns true if this
ItemInfo denotes a node, false otherwise. |
Path |
getPath()
Returns the
Path of the item represented by this
ItemInfo. |
public ItemInfoImpl(NodeId parentId, Name name, Path path, boolean isNode)
ItemInfoImpl(Path, boolean) instead. The
parentId is not used any more and the corresponding getter has been
removed.parentId - the parent id.name - the name of this item.path - the path to this item.isNode - if this item is a node.public ItemInfoImpl(Path path, boolean isNode)
path - the path to this item.isNode - if this item is a node.public boolean denotesNode()
ItemInfo denotes a node, false otherwise.denotesNode in interface ItemInfoItemInfo denotes a node, false otherwise.Copyright © 2010 - 2023 Adobe. All Rights Reserved