public final class Match
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private NodeMetadata |
metadata |
private Node |
node |
Constructor and Description |
---|
Match(Node node,
NodeMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
getMetadata()
Returns the metadata for this match.
|
Node |
getNode()
Returns the node that matched the given conditions.
|
private final Node node
private final NodeMetadata metadata
public Match(Node node, NodeMetadata metadata)
public Node getNode()
public NodeMetadata getMetadata()