Class NodeInfo
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.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 to the import process.An instance of this class is simply a container for the node name, node uuidentifier, 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 @NotNull Iterable<String>
getMixinTypeNames()
Returns the names of the mixin types of the node being imported.@NotNull String
getName()
Returns the name of the node being imported.@Nullable String
getPrimaryTypeName()
Returns the name of the primary type of the node being imported.@Nullable String
getUUID()
Returns the uuid of the node being imported.
-
-
-
Constructor Detail
-
NodeInfo
public NodeInfo(@NotNull @NotNull String name, @Nullable @Nullable String primaryTypeName, @Nullable @Nullable Iterable<String> mixinTypeNames, @Nullable @Nullable String uuid)
Creates a node information instance.- Parameters:
name
- name of the node being importedprimaryTypeName
- name of the primary type of the node being importedmixinTypeNames
- names of the mixin types of the node being importeduuid
- uuid of the node being imported
-
-
Method Detail
-
getName
@NotNull public @NotNull String getName()
Returns the name of the node being imported.- Returns:
- node name
-
getPrimaryTypeName
@Nullable public @Nullable String getPrimaryTypeName()
Returns the name of the primary type of the node being imported.- Returns:
- primary type name
-
getMixinTypeNames
@NotNull public @NotNull Iterable<String> getMixinTypeNames()
Returns the names of the mixin types of the node being imported.- Returns:
- mixin type names
-
getUUID
@Nullable public @Nullable String getUUID()
Returns the uuid of the node being imported.- Returns:
- node uuid
-
-