The bullet parser has been written with two specific goals in mind: web crawling and targeted data extraction from massive web data sets.
The it.unimi.dsi.mg4j.util.parser.BulletParser needs a way to turn a name (for an element type, attribute, or entity) into a corresponding object of type it.unimi.dsi.mg4j.util.parser.Element , it.unimi.dsi.mg4j.util.parser.Attribute or it.unimi.dsi.mg4j.util.parser.Entity , respectively.
This factory assumes that every new name of an element type or of an attribute is new valid name.