public class TypePredicate extends Object
node states.| Constructor and Description |
|---|
TypePredicate(NodeState root,
Iterable<String> names)
Creates a predicate for checking whether a node state is an instance of
any of the named node types.
|
TypePredicate(NodeState root,
String name)
Creates a predicate for checking whether a node state is an instance of
the named node type.
|
TypePredicate(NodeState root,
String[] names)
Creates a predicate for checking whether a node state is an instance of
any of the named node types.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(NodeState input) |
boolean |
apply(String primary,
Set<String> mixins) |
boolean |
apply(Tree input) |
static TypePredicate |
isOrderable(NodeState root) |
String |
toString() |
public TypePredicate(NodeState root, String name)
root - root node statename - Oak name of the node type to check forpublic TypePredicate(NodeState root, Iterable<String> names)
root - root node statenames - Oak names of the node types to check forpublic TypePredicate(NodeState root, String[] names)
root - root node statenames - Oak names of the node types to check for"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"