public class PreFilteredMediaWikiLoader extends Object
MediaWikiLoader for more details.)| Constructor and Description |
|---|
PreFilteredMediaWikiLoader() |
| Modifier and Type | Method and Description |
|---|---|
static JAXBElement<MediaWikiType> |
load(InputSource source,
edu.gvsu.kurmasz.warszawa.log.SimpleLog log,
Unmarshaller unmarshaller,
XMLFilter... filterList)
Loads and filters and XML stream, then returns a
JAXBElement<MediaWikiType> object representing the root. |
static JAXBElement<MediaWikiType> |
load(InputStream source,
edu.gvsu.kurmasz.warszawa.log.SimpleLog log,
XMLFilter... filterList)
Loads and filters and XML stream, then returns a
JAXBElement<MediaWikiType> object representing the root. |
public static JAXBElement<MediaWikiType> load(InputSource source, edu.gvsu.kurmasz.warszawa.log.SimpleLog log, Unmarshaller unmarshaller, XMLFilter... filterList) throws JAXBException
JAXBElement<MediaWikiType> object representing the root.source - the source of the XML datalog - a Log to which to report progressunmarshaller - the JAXB unmarshaller to usefilterList - a list of SAX filters to apply.MediaWikiType object representing the root of the filtered XML stream.JAXBException - if there is a problem generating the DOMMediaWikiLoader.XMLConfigurationException - if there is a problem configuring the XML filters or parserpublic static JAXBElement<MediaWikiType> load(InputStream source, edu.gvsu.kurmasz.warszawa.log.SimpleLog log, XMLFilter... filterList) throws JAXBException
JAXBElement<MediaWikiType> object representing the root.source - the source of the XML datalog - a Log to which to report progressfilterList - a list of SAX filters to applyMediaWikiType object representing the root of the filtered XML stream.JAXBException - if there is a problem generating the DOMMediaWikiLoader.XMLConfigurationException - if there is a problem configuring the XML filters or parser