org.apache.jackrabbit.core.xml
Class NodeInfo

java.lang.Object
  extended by org.apache.jackrabbit.core.xml.NodeInfo

public class NodeInfo
extends Object

Information about a node being imported. This class is used by the XML import handlers to pass the parsed node information through the 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 Summary
NodeInfo(Name name, Name nodeTypeName, Name[] mixinNames, NodeId id)
          Creates a node information instance.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeInfo

public NodeInfo(Name name,
                Name nodeTypeName,
                Name[] mixinNames,
                NodeId id)
Creates a node information instance.

Parameters:
name - name of the node being imported
nodeTypeName - name of the primary type of the node being imported
mixinNames - names of the mixin types of the node being imported
id - identifier of the node being imported
Method Detail

getName

public Name getName()
Returns the name of the node being imported.

Returns:
node name

getNodeTypeName

public Name getNodeTypeName()
Returns the name of the primary type of the node being imported.

Returns:
primary type name

getMixinNames

public Name[] getMixinNames()
Returns the names of the mixin types of the node being imported.

Returns:
mixin type names

getId

public NodeId getId()
Returns the identifier of the node being imported.

Returns:
node identifier


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