SiblingsHelper
instead.@Deprecated public class SiblingsHelper extends Object
Modifier and Type | Method and Description |
---|---|
static SiblingsHelper |
childrenOf(Content parent)
Deprecated.
Instantiates a SiblingsHelper representing the children of the given node,
where the current node is the first child of the same type as its parent.
|
static SiblingsHelper |
childrenOf(Content parent,
Content.ContentFilter filter)
Deprecated.
Instantiates a SiblingsHelper representing the children of the given node,
where the current node is the first child from all that pass the filter.
|
static SiblingsHelper |
childrenOf(Content parent,
ItemType childType)
Deprecated.
Instantiates a SiblingsHelper representing the children of the given node,
where the current node is the first child of given type.
|
Content |
getCurrent()
Deprecated.
|
int |
getIndex()
Deprecated.
Returns the zero-based index of the current node.
|
Content |
goTofirst()
Deprecated.
|
Content |
goTolast()
Deprecated.
|
boolean |
isFirst()
Deprecated.
|
boolean |
isLast()
Deprecated.
|
Content |
next()
Deprecated.
|
static SiblingsHelper |
of(Content node)
Deprecated.
Instantiates a SiblingsHelper representing the siblings of the given node and of the same type.
|
Content |
prev()
Deprecated.
|
public static SiblingsHelper of(Content node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static SiblingsHelper childrenOf(Content parent) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static SiblingsHelper childrenOf(Content parent, ItemType childType) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static SiblingsHelper childrenOf(Content parent, Content.ContentFilter filter) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public Content next()
public Content prev()
public Content goTofirst()
public Content goTolast()
public Content getCurrent()
public int getIndex()
public boolean isFirst()
public boolean isLast()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.