|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.ItemInfoImpl
org.apache.jackrabbit.spi.commons.NodeInfoImpl
public class NodeInfoImpl
NodeInfoImpl implements a serializable NodeInfo
based on another node info.
| Constructor Summary | |
|---|---|
NodeInfoImpl(NodeId parentId,
Name name,
Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
java.util.Iterator<PropertyId> references,
java.util.Iterator<PropertyId> propertyIds,
java.util.Iterator<ChildInfo> childInfos)
Deprecated. Use NodeInfoImpl(Path, NodeId, int, Name, Name[], Iterator, Iterator, Iterator)
instead. The parentId is not used any more. |
|
NodeInfoImpl(Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
java.util.Iterator<PropertyId> references,
java.util.Iterator<PropertyId> propertyIds,
java.util.Iterator<ChildInfo> childInfos)
Creates a new node info from the given parameters. |
|
| Method Summary | |
|---|---|
static NodeInfo |
createSerializableNodeInfo(NodeInfo nodeInfo,
IdFactory idFactory)
Creates a new serializable NodeInfo for the given
NodeInfo. |
java.util.Iterator<ChildInfo> |
getChildInfos()
|
NodeId |
getId()
|
int |
getIndex()
|
Name[] |
getMixins()
|
Name |
getNodetype()
|
java.util.Iterator<PropertyId> |
getPropertyIds()
|
PropertyId[] |
getReferences()
|
| Methods inherited from class org.apache.jackrabbit.spi.commons.ItemInfoImpl |
|---|
denotesNode, 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 |
|---|
denotesNode, getPath |
| Constructor Detail |
|---|
public NodeInfoImpl(NodeId parentId,
Name name,
Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
java.util.Iterator<PropertyId> references,
java.util.Iterator<PropertyId> propertyIds,
java.util.Iterator<ChildInfo> childInfos)
NodeInfoImpl(Path, NodeId, int, Name, Name[], Iterator, Iterator, Iterator)
instead. The parentId is not used any more.
parentId - the parent id.name - the name of this item.path - the path to this item.id - the id of this item.index - the index of this item.primaryTypeName - the name of the primary node type.mixinNames - the names of the assigned mixins.references - the references to this node.propertyIds - the properties of this node.childInfos - the child infos of this node or null.
public NodeInfoImpl(Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
java.util.Iterator<PropertyId> references,
java.util.Iterator<PropertyId> propertyIds,
java.util.Iterator<ChildInfo> childInfos)
path - the path to this item.id - the id of this item.index - the index of this item.primaryTypeName - the name of the primary node type.mixinNames - the names of the assigned mixins.references - the references to this node.propertyIds - the properties of this node.| Method Detail |
|---|
public static NodeInfo createSerializableNodeInfo(NodeInfo nodeInfo,
IdFactory idFactory)
NodeInfo for the given
NodeInfo.
nodeInfo - public NodeId getId()
getId in interface ItemInfogetId in interface NodeInfopublic int getIndex()
getIndex in interface NodeInfopublic Name getNodetype()
getNodetype in interface NodeInfopublic Name[] getMixins()
getMixins in interface NodeInfopublic PropertyId[] getReferences()
getReferences in interface NodeInfopublic java.util.Iterator<PropertyId> getPropertyIds()
getPropertyIds in interface NodeInfopublic java.util.Iterator<ChildInfo> getChildInfos()
getChildInfos in interface NodeInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||