CompositeInputStream has ability to store multiple inputStreams in a LinkList and perform various input stream operaitons on these inputStream in a serialized manner or first in first read model.
A custom builder to that does the following: 1) Uses the parser to fetch the inputStream if parser supports reading of element contents 2) Use the inputStream to create a DataSource backed by the InputStream read from Parser. 3) Use the OMFactory to create OMSourcedElement, OMSourcedElement is backed by ParsedEntityDataSource.
This is a MessageContextListener that installs ParserInputStreamCustomBuilder during an Envelope or ServiceContext event on AxisService.
Copyright © The Apache Software Foundation. All Rights Reserved.