public class NodeInfo extends Object
Importer interface to the actual import process.
An instance of this class is simply a container for the node name,
node identifier, and the node type information. See the PropInfo
class for the related carrier of property information.
| Constructor and Description |
|---|
NodeInfo(org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Name nodeTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
NodeId id)
Creates a node information instance.
|
| Modifier and Type | Method and Description |
|---|---|
NodeId |
getId()
Returns the identifier of the node being imported.
|
org.apache.jackrabbit.spi.Name[] |
getMixinNames()
Returns the names of the mixin types of the node being imported.
|
org.apache.jackrabbit.spi.Name |
getName()
Returns the name of the node being imported.
|
org.apache.jackrabbit.spi.Name |
getNodeTypeName()
Returns the name of the primary type of the node being imported.
|
public NodeInfo(org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Name nodeTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
NodeId id)
name - name of the node being importednodeTypeName - name of the primary type of the node being importedmixinNames - names of the mixin types of the node being importedid - identifier of the node being importedpublic org.apache.jackrabbit.spi.Name getName()
public org.apache.jackrabbit.spi.Name getNodeTypeName()
public org.apache.jackrabbit.spi.Name[] getMixinNames()
public NodeId getId()
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.