public class NodeUtil extends Object
JCR nodes
.Modifier and Type | Method and Description |
---|---|
static String |
geMixinTypes(javax.jcr.Node node) |
static String |
getPrimaryType(javax.jcr.Node node) |
@Nonnull public static String getPrimaryType(@Nonnull javax.jcr.Node node) throws javax.jcr.RepositoryException
node
- must not be null
.primary type
name of the given node, never null
.javax.jcr.RepositoryException
- if accessing the node fails due to an unrecoverable repository error.@CheckForNull public static String geMixinTypes(@Nonnull javax.jcr.Node node) throws javax.jcr.RepositoryException
node
- must not be null
.null
if the node has no mixin types.javax.jcr.RepositoryException
- if accessing the node fails due to an unrecoverable repository error.Copyright © 2024. All rights reserved.