public class NodeInfoImpl extends ItemInfoImpl implements org.apache.jackrabbit.spi.NodeInfo
NodeInfoImpl implements a serializable NodeInfo
based on another node info.| Constructor and Description |
|---|
NodeInfoImpl(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.NodeId id,
int index,
org.apache.jackrabbit.spi.Name primaryTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
Iterator<org.apache.jackrabbit.spi.PropertyId> references,
Iterator<org.apache.jackrabbit.spi.PropertyId> propertyIds,
Iterator<org.apache.jackrabbit.spi.ChildInfo> childInfos)
Deprecated.
Use
NodeInfoImpl(Path, NodeId, int, Name, Name[], Iterator, Iterator, Iterator)
instead. The parentId is not used any more. |
NodeInfoImpl(org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.NodeId id,
int index,
org.apache.jackrabbit.spi.Name primaryTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
Iterator<org.apache.jackrabbit.spi.PropertyId> references,
Iterator<org.apache.jackrabbit.spi.PropertyId> propertyIds,
Iterator<org.apache.jackrabbit.spi.ChildInfo> childInfos)
Creates a new node info from the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jackrabbit.spi.NodeInfo |
createSerializableNodeInfo(org.apache.jackrabbit.spi.NodeInfo nodeInfo,
org.apache.jackrabbit.spi.IdFactory idFactory)
Creates a new serializable
NodeInfo for the given
NodeInfo. |
Iterator<org.apache.jackrabbit.spi.ChildInfo> |
getChildInfos() |
org.apache.jackrabbit.spi.NodeId |
getId() |
int |
getIndex() |
org.apache.jackrabbit.spi.Name[] |
getMixins() |
org.apache.jackrabbit.spi.Name |
getNodetype() |
Iterator<org.apache.jackrabbit.spi.PropertyId> |
getPropertyIds() |
org.apache.jackrabbit.spi.PropertyId[] |
getReferences() |
denotesNode, getPathpublic NodeInfoImpl(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.NodeId id,
int index,
org.apache.jackrabbit.spi.Name primaryTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
Iterator<org.apache.jackrabbit.spi.PropertyId> references,
Iterator<org.apache.jackrabbit.spi.PropertyId> propertyIds,
Iterator<org.apache.jackrabbit.spi.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(org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.NodeId id,
int index,
org.apache.jackrabbit.spi.Name primaryTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
Iterator<org.apache.jackrabbit.spi.PropertyId> references,
Iterator<org.apache.jackrabbit.spi.PropertyId> propertyIds,
Iterator<org.apache.jackrabbit.spi.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.public static org.apache.jackrabbit.spi.NodeInfo createSerializableNodeInfo(org.apache.jackrabbit.spi.NodeInfo nodeInfo,
org.apache.jackrabbit.spi.IdFactory idFactory)
NodeInfo for the given
NodeInfo.nodeInfo - public org.apache.jackrabbit.spi.NodeId getId()
getId in interface org.apache.jackrabbit.spi.ItemInfogetId in interface org.apache.jackrabbit.spi.NodeInfopublic int getIndex()
getIndex in interface org.apache.jackrabbit.spi.NodeInfopublic org.apache.jackrabbit.spi.Name getNodetype()
getNodetype in interface org.apache.jackrabbit.spi.NodeInfopublic org.apache.jackrabbit.spi.Name[] getMixins()
getMixins in interface org.apache.jackrabbit.spi.NodeInfopublic org.apache.jackrabbit.spi.PropertyId[] getReferences()
getReferences in interface org.apache.jackrabbit.spi.NodeInfopublic Iterator<org.apache.jackrabbit.spi.PropertyId> getPropertyIds()
getPropertyIds in interface org.apache.jackrabbit.spi.NodeInfopublic Iterator<org.apache.jackrabbit.spi.ChildInfo> getChildInfos()
getChildInfos in interface org.apache.jackrabbit.spi.NodeInfoCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.