|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Block.Axes>
org.xwiki.rendering.block.Block.Axes
public static enum Block.Axes
Search axes used in searching methods. Mostly taken from XPATH axes.
| Enum Constant Summary | |
|---|---|
ANCESTOR
The ancestors of the context block; the ancestors of the context block consist of the parent of context block and the parent's parent and so on; thus, the ancestor axis will always include the root block, unless the context block is the root block. |
|
ANCESTOR_OR_SELF
The context block and the ancestors of the context block; thus, the ancestor axis will always include the root block. |
|
CHILD
The children of the context block. |
|
DESCENDANT
The descendants of the context block; a descendant is a child or a child of a child and so on. |
|
DESCENDANT_OR_SELF
The context block and the descendants of the context block. |
|
FOLLOWING
All blocks in the same document as the context block that are after the context block in document order, excluding any descendants. |
|
FOLLOWING_SIBLING
All the following siblings of the context block. |
|
PARENT
The parent of the context block, if there is one. |
|
PRECEDING
All blocks in the same document as the context block that are before the context block in document order, excluding any ancestors. |
|
PRECEDING_SIBLING
All the preceding siblings of the context block. |
|
SELF
Just the context block itself. |
|
| Method Summary | |
|---|---|
static Block.Axes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Block.Axes[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Block.Axes SELF
public static final Block.Axes PARENT
public static final Block.Axes ANCESTOR
public static final Block.Axes ANCESTOR_OR_SELF
public static final Block.Axes CHILD
public static final Block.Axes DESCENDANT
public static final Block.Axes DESCENDANT_OR_SELF
public static final Block.Axes FOLLOWING
public static final Block.Axes FOLLOWING_SIBLING
public static final Block.Axes PRECEDING
public static final Block.Axes PRECEDING_SIBLING
| Method Detail |
|---|
public static final Block.Axes[] values()
for(Block.Axes c : Block.Axes.values())
System.out.println(c);
public static Block.Axes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||