public abstract class ItemInfoImpl extends Object implements ItemInfo, Serializable
ItemInfoImpl
is a base class for ItemInfo
implementations.Constructor and Description |
---|
ItemInfoImpl(Path path,
boolean isNode)
Creates a new
ItemInfo . |
Modifier and Type | Method and Description |
---|---|
boolean |
denotesNode()
Returns true if this
ItemInfo denotes a node, false otherwise. |
Name |
getName() |
Path |
getPath()
Returns the
Path of the item represented by this
ItemInfo . |
public ItemInfoImpl(Path path, boolean isNode) throws javax.jcr.RepositoryException
ItemInfo
.path
- the path to this item.isNode
- if this item is a node.javax.jcr.RepositoryException
public Name getName()
public boolean denotesNode()
ItemInfo
denotes a node, false otherwise.denotesNode
in interface ItemInfo
ItemInfo
denotes a node, false otherwise.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.