public static enum Block.Axes extends Enum<Block.Axes>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static Block.Axes |
valueOf(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 are declared.
|
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
public static Block.Axes[] values()
for (Block.Axes c : Block.Axes.values()) System.out.println(c);
public static Block.Axes 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 © 2004–2021 XWiki. All rights reserved.