public class ProductionStringFactory<TOKEN> extends Object implements ProductionFactory<String,TOKEN>
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Function<TOKEN,String> |
token2String |
| Constructor and Description |
|---|
ProductionStringFactory() |
ProductionStringFactory(com.google.common.base.Function<TOKEN,String> token2String) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
card(boolean many,
boolean optional) |
String |
createForAlternativeChildren(boolean many,
boolean optional,
Iterable<String> children) |
String |
createForSequentialChildren(boolean many,
boolean optional,
Iterable<String> children) |
String |
createForToken(boolean many,
boolean optional,
TOKEN token) |
String |
createForUnordertedChildren(boolean many,
boolean optional,
Iterable<String> children) |
protected String card(boolean many, boolean optional)
public String createForAlternativeChildren(boolean many, boolean optional, Iterable<String> children)
createForAlternativeChildren in interface ProductionFactory<String,TOKEN>public String createForSequentialChildren(boolean many, boolean optional, Iterable<String> children)
createForSequentialChildren in interface ProductionFactory<String,TOKEN>public String createForToken(boolean many, boolean optional, TOKEN token)
createForToken in interface ProductionFactory<String,TOKEN>public String createForUnordertedChildren(boolean many, boolean optional, Iterable<String> children)
createForUnordertedChildren in interface ProductionFactory<String,TOKEN>Copyright © 2015. All Rights Reserved.