public static final class DOMSelector.AggregatingNodeReferenceChecker extends DOMSelector.AbstractNodeReferenceChecker
Implementation of DOMSelector.INodeReferenceChecker
that aggregates two other reference
checker objects.
First, one is checked and, if false is returned, two is checked.
Constructor and Description |
---|
AggregatingNodeReferenceChecker(DOMSelector.INodeReferenceChecker one,
DOMSelector.INodeReferenceChecker two) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkReference(Node node,
String referenceValue)
Check whether the node passed as argument matches the specified reference value.
|
public AggregatingNodeReferenceChecker(DOMSelector.INodeReferenceChecker one, DOMSelector.INodeReferenceChecker two)
public boolean checkReference(Node node, String referenceValue)
DOMSelector.INodeReferenceChecker
Check whether the node passed as argument matches the specified reference value.
node
- the node to be checked.referenceValue
- the reference value expected to check.Copyright © 2017 The THYMELEAF team. All rights reserved.