org.freecompany.infoset.sax
public class SaxInfosetFactory extends Object implements InfosetFactory<XMLReader>
| Field Summary | |
|---|---|
| protected SAXParserFactory | factory |
| Constructor Summary | |
|---|---|
| protected | SaxInfosetFactory() |
| Method Summary | |
|---|---|
| <V> Infoset<V> | adaptTo(Class<V> clazz, Infoset<XMLReader> infoset) |
| Infoset<XMLReader> | create(URL url)
Creates an infoset that will, when accessed, parse the content from the provided
URL. |
| Infoset<XMLReader> | create(ReadableByteChannel channel)
Creates an infoset that will, when accessed, parse the content from the provided
URL. |
| Infoset<XMLReader> | create(InputStream input)
Creates an infoset that will, when accessed, parse the content from the provided
InputStream. |
| static SaxInfosetFactory | newInstance() |