org.apache.jackrabbit.spi.commons
Class ItemInfoImpl

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.ItemInfoImpl
All Implemented Interfaces:
Serializable, org.apache.jackrabbit.spi.ItemInfo
Direct Known Subclasses:
NodeInfoImpl, PropertyInfoImpl

public abstract class ItemInfoImpl
extends Object
implements org.apache.jackrabbit.spi.ItemInfo, Serializable

ItemInfoImpl is a base class for ItemInfo implementations.

See Also:
Serialized Form

Constructor Summary
ItemInfoImpl(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Name name, org.apache.jackrabbit.spi.Path path, boolean isNode)
          Deprecated. Use ItemInfoImpl(Path, boolean) instead. The parentId is not used any more and the corresponding getter has been removed.
ItemInfoImpl(org.apache.jackrabbit.spi.Path path, boolean isNode)
          Creates a new item info from the given name, path and boolean flag.
 
Method Summary
 boolean denotesNode()
          
 org.apache.jackrabbit.spi.Path getPath()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jackrabbit.spi.ItemInfo
getId
 

Constructor Detail

ItemInfoImpl

public ItemInfoImpl(org.apache.jackrabbit.spi.NodeId parentId,
                    org.apache.jackrabbit.spi.Name name,
                    org.apache.jackrabbit.spi.Path path,
                    boolean isNode)
Deprecated. Use ItemInfoImpl(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

public ItemInfoImpl(org.apache.jackrabbit.spi.Path path,
                    boolean isNode)
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 Detail

denotesNode

public boolean denotesNode()

Specified by:
denotesNode in interface org.apache.jackrabbit.spi.ItemInfo

getPath

public org.apache.jackrabbit.spi.Path getPath()

Specified by:
getPath in interface org.apache.jackrabbit.spi.ItemInfo


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.