16.34. Subinterfaces of a Value Factory
Several of the ValueFactories methods return subinterfaces of ValueFactory; for example, NameFactory , DateTimeFactory , PathFactory , and BinaryFactory . These add type-specific methods that are more commonly needed in certain cases.
ModeShape provides efficient implementations of all of these interfaces: the ValueFactory interfaces and subinterfaces; the Path, Path.Segment, Name, Binary, DateTime, and Reference interfaces; and the ValueFactories interface returned by the
ExecutionContext
. In fact, some of these interfaces have multiple implementations that are optimized for specific but frequently-occurring conditions.