Package org.apache.jackrabbit.core.xml
Class NodeInfo
- java.lang.Object
-
- 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 theImporter
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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 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 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
-
-