public class XMLFactory extends Object
| Constructor and Description |
|---|
XMLFactory() |
| Modifier and Type | Method and Description |
|---|---|
static XMLReader |
getXMLReader(InputStream inputStream)
Creates an XMLReader from a StAX-based XMLStreamReader.
|
static XMLWriter |
getXMLWriter(OutputStream outputStream)
Creates an XMLWriter from a StAX-based XMLStreamWriter.
|
public static XMLWriter getXMLWriter(OutputStream outputStream)
outputStream - the OutputStream to write to.public static XMLReader getXMLReader(InputStream inputStream)
inputStream - the InputStream to read from.Copyright © 2015 AmpleCode. All rights reserved.