Unfortunately, the way StAX 1.0 is defined, this class can NOT be the base class of the full input factory, without getting references to most of StAX event classes. It does however have lots of shared (cut'n pasted code) with {@link com.ctc.wstx.stax.WstxInputFactory}. Hopefully in future this problem can be resolved.
Regarding Stax2 extensions: they are not included either (since just like stax 1.0, it does have event API extensions) in this minimal subset.
Implementation note: since entity objects are built directly on top of StAX events Objects, couple of event classes (specifically, {@link javax.xml.stream.events.EntityDeclaration} and the genericbase class, {@link javax.xml.stream.events.XMLEvent}, and Woodstox classes that implement them) will still need to be included in the subset.
|
|