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(Name name,
        Name nodeTypeName,
        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. 
 | 
Name[] | 
getMixinNames()
Returns the names of the mixin types of the node being imported. 
 | 
Name | 
getName()
Returns the name of the node being imported. 
 | 
Name | 
getNodeTypeName()
Returns the name of the primary type of the node being imported. 
 | 
public NodeInfo(Name name, Name nodeTypeName, 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 Name getName()
public Name getNodeTypeName()
public Name[] getMixinNames()
public NodeId getId()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.