*/
public Item createItem(GrammarPattern grammar)
throws RelaxException
{
if (_item == null) {
ChoiceItem item = new ChoiceItem();
for (int i = 0; i < _patterns.size(); i++) {
item.addItem(_patterns.get(i).createItem(grammar));
}
if (_hasEmpty)
item.addItem(EmptyItem.create());
_item = item.getMin();
}
return _item;
}