Class ItemInfoImpl
java.lang.Object
org.apache.jackrabbit.spi.commons.ItemInfoImpl
- All Implemented Interfaces:
Serializable,ItemInfo
- Direct Known Subclasses:
NodeInfoImpl,PropertyInfoImpl
ItemInfoImpl is a base class for ItemInfo
implementations.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionItemInfoImpl(NodeId parentId, Name name, Path path, boolean isNode) Deprecated.ItemInfoImpl(Path path, boolean isNode) Creates a new item info from the given name, path and boolean flag. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if thisItemInfodenotes a node, false otherwise.getPath()Returns thePathof the item represented by thisItemInfo.
-
Constructor Details
-
ItemInfoImpl
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
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 Details
-
denotesNode
public boolean denotesNode()Returns true if thisItemInfodenotes a node, false otherwise.- Specified by:
denotesNodein interfaceItemInfo- Returns:
- true if this
ItemInfodenotes a node, false otherwise.
-
getPath
Returns thePathof the item represented by thisItemInfo.
-
ItemInfoImpl(Path, boolean)instead.