| Constructor and Description |
|---|
Analyzer.Holder() |
| Modifier and Type | Method and Description |
|---|---|
String |
contentCount() |
List<RuleSet> |
get(Analyzer.HolderItem item,
String key)
Returns list of rules (ruleset) for given holder and key
|
void |
insert(Analyzer.HolderItem item,
String key,
RuleSet value)
Inserts Ruleset into group identified by HolderType, and optionally
by key value
|
boolean |
isEmpty() |
String |
toString() |
static Analyzer.Holder |
union(Analyzer.Holder one,
Analyzer.Holder two) |
public boolean isEmpty()
public static Analyzer.Holder union(Analyzer.Holder one, Analyzer.Holder two)
public void insert(Analyzer.HolderItem item, String key, RuleSet value)
item - Identifier of holder's groupkey - Key, used in case other than OTHERvalue - Value to be store insidepublic List<RuleSet> get(Analyzer.HolderItem item, String key)
item - Type of item to be returnedkey - Key or null in case of HolderItem.OTHERnull if not found under given
combination of key and itempublic String contentCount()
Copyright © 2014. All rights reserved.