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 RepositoryException
ItemInfo
.path
- the path to this item.isNode
- if this item is a node.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–2021 The Apache Software Foundation. All rights reserved.