Acts as a holder for an XML Source in the
form of a StAX reader,i.e.
XMLStreamReader or XMLEventReader .
StAXSource can be used in all cases that accept
a Source, e.g. Transformer ,
Validator which accept
Source as input.
StAXSources are consumed during processing
and are not reusable.
Acts as a holder for an XML Source in the form of a StAX reader,i.e. XMLStreamReader or XMLEventReader .
StAXSourcecan be used in all cases that accept aSource, e.g. Transformer , Validator which acceptSourceas input.StAXSources are consumed during processing and are not reusable.