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
ItemInfoImpl
is a base class forItemInfo
implementations.- 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 boolean
denotesNode()
Returns true if thisItemInfo
denotes a node, false otherwise.Name
getName()
Path
getPath()
Returns thePath
of 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 thisItemInfo
denotes a node, false otherwise.- Specified by:
denotesNode
in interfaceItemInfo
- Returns:
- true if this
ItemInfo
denotes a node, false otherwise.
-
-