public class ContentAxisRule extends XPathRule
Constructor and Description |
---|
ContentAxisRule()
Creates a ContentAxisRule that returns any Content children.
|
ContentAxisRule(Filter filter)
Creates a ContentAxisRule that returns any Content children passed by the
supplied Filter.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Content> |
apply(Content context)
Applies this rule to the context node, returning any matching nodes.
|
public ContentAxisRule()
public ContentAxisRule(Filter filter)
filter
- a restriction on the Content children.