public enum NodeTypeMode extends Enum<NodeTypeMode>
ResourceResolverType
types.Enum Constant and Description |
---|
NAMESPACES_ONLY
Namespaces have to be registered, but nodetypes are not supported.
|
NODETYPES_REQUIRED
Nodetypes including namespaces have to be registered.
|
NOT_SUPPORTED
Neither registration of namespaces or node types required (no underlying JCR).
|
Modifier and Type | Method and Description |
---|---|
static NodeTypeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeTypeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeTypeMode NOT_SUPPORTED
public static final NodeTypeMode NAMESPACES_ONLY
public static final NodeTypeMode NODETYPES_REQUIRED
public static NodeTypeMode[] values()
for (NodeTypeMode c : NodeTypeMode.values()) System.out.println(c);
public static NodeTypeMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.