Package org.apache.jackrabbit.spi2davex
Class ItemInfoImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi2davex.ItemInfoImpl
-
- All Implemented Interfaces:
Serializable,ItemInfo
- Direct Known Subclasses:
NodeInfoImpl,PropertyInfoImpl
public abstract class ItemInfoImpl extends Object implements ItemInfo, Serializable
ItemInfoImplis a base class forItemInfoimplementations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ItemInfoImpl(Path path, boolean isNode)Creates a newItemInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandenotesNode()Returns true if thisItemInfodenotes a node, false otherwise.NamegetName()PathgetPath()Returns thePathof the item represented by thisItemInfo.
-
-
-
Constructor Detail
-
ItemInfoImpl
public ItemInfoImpl(Path path, boolean isNode) throws RepositoryException
Creates a newItemInfo.- Parameters:
path- the path to this item.isNode- if this item is a node.- Throws:
RepositoryException
-
-
Method Detail
-
getName
public Name getName()
-
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.
-
-