|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.spi.commons.ItemInfoImpl
public abstract class ItemInfoImpl
ItemInfoImpl
is a base class for ItemInfo
implementations.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
denotesNode()
Returns true if this ItemInfo denotes a node, false otherwise. |
Path |
getPath()
Returns the Path of the item represented by this
ItemInfo . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jackrabbit.spi.ItemInfo |
---|
getId |
Constructor Detail |
---|
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.Method Detail |
---|
public boolean denotesNode()
ItemInfo
denotes a node, false otherwise.
denotesNode
in interface ItemInfo
ItemInfo
denotes a node, false otherwise.public Path getPath()
Path
of the item represented by this
ItemInfo
.
getPath
in interface ItemInfo
Path
of the item represented by this
item info.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |