public enum VisitResult extends Enum<VisitResult>
An enum that specifies the possible
results of a call to VisitCallback.visit(javax.faces.component.visit.VisitContext, javax.faces.component.UIComponent)
.
VisitCallback.visit()
Enum Constant and Description |
---|
ACCEPT
This result indicates that the tree visit should descend into current component's subtree. |
COMPLETE
This result indicates that the tree visit should be terminated. |
REJECT
This result indicates that the tree visit should continue, but should skip the current component's subtree. |
Modifier and Type | Method and Description |
---|---|
static VisitResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisitResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisitResult ACCEPT
This result indicates that the tree visit should descend into current component's subtree.
public static final VisitResult REJECT
This result indicates that the tree visit should continue, but should skip the current component's subtree.
public static final VisitResult COMPLETE
This result indicates that the tree visit should be terminated.
public static VisitResult[] values()
for (VisitResult c : VisitResult.values()) System.out.println(c);
public static VisitResult 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 © 2016 JBoss by Red Hat. All rights reserved.