public static class StaxEventHelper.EventPredicates extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StaxEventHelper.EventPredicates.ChildOrSiblingPredicate
Checks if the event is child or siblings ChildOrSiblingPredicate.
|
static class |
StaxEventHelper.EventPredicates.ChildPredicate
Checks if the event is offspring.
|
Modifier and Type | Field and Description |
---|---|
static Predicate<XMLEvent> |
IS_END_ELEMENT
The I s_ en d_ element.
|
static Predicate<XMLEvent> |
IS_START_ELEMENT
The I s_ star t_ element.
|
Constructor and Description |
---|
EventPredicates() |
Modifier and Type | Method and Description |
---|---|
static Predicate<XMLEvent> |
getChildOrSiblingPredicate()
Gets the child or sibling predicate.
|
static Predicate<XMLEvent> |
isChildPredicate()
Checks if is child predicate.
|
static Predicate<XMLEvent> |
isElement(QName name)
Checks if is element
|
static Predicate<XMLEvent> |
isStartOrStopElement(QName name)
Checks if is start or stop element.
|
public static Predicate<XMLEvent> isElement(QName name)
name
- the namepublic static Predicate<XMLEvent> isStartOrStopElement(QName name)
name
- the namepublic static Predicate<XMLEvent> getChildOrSiblingPredicate()
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.