Class ItemInfoImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.ItemInfoImpl
-
- All Implemented Interfaces:
java.io.Serializable
,ItemInfo
- Direct Known Subclasses:
NodeInfoImpl
,PropertyInfoImpl
public abstract class ItemInfoImpl extends java.lang.Object implements ItemInfo, java.io.Serializable
ItemInfoImpl
is a base class forItemInfo
implementations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ItemInfoImpl(NodeId parentId, Name name, Path path, boolean isNode)
Deprecated.UseItemInfoImpl(Path, boolean)
instead.ItemInfoImpl(Path path, boolean isNode)
Creates a new item info from the given name, path and boolean flag.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
denotesNode()
Returns true if thisItemInfo
denotes a node, false otherwise.Path
getPath()
Returns thePath
of the item represented by thisItemInfo
.
-
-
-
Constructor Detail
-
ItemInfoImpl
public ItemInfoImpl(NodeId parentId, Name name, Path path, boolean isNode)
Deprecated.UseItemInfoImpl(Path, boolean)
instead. The parentId is not used any more and the corresponding getter has been removed.Creates a new item info from the given name, path and boolean flag.- Parameters:
parentId
- the parent id.name
- the name of this item.path
- the path to this item.isNode
- if this item is a node.
-
ItemInfoImpl
public ItemInfoImpl(Path path, boolean isNode)
Creates a new item info from the given name, path and boolean flag.- Parameters:
path
- the path to this item.isNode
- if this item is a node.
-
-
Method Detail
-
denotesNode
public boolean denotesNode()
Returns true if thisItemInfo
denotes a node, false otherwise.- Specified by:
denotesNode
in interfaceItemInfo
- Returns:
- true if this
ItemInfo
denotes a node, false otherwise.
-
-