public class NodeTypeFilter extends Object implements Content.ContentFilter
Content.ContentFilter
filtering on node types.Constructor and Description |
---|
NodeTypeFilter(ItemType type) |
NodeTypeFilter(String typeName) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Content content)
Test if this content should be included in a resultant collection.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public NodeTypeFilter(String typeName)
public NodeTypeFilter(ItemType type)
public boolean accept(Content content)
Content.ContentFilter
accept
in interface Content.ContentFilter
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.