public class IOElementPipe extends Object
| Constructor and Description |
|---|
IOElementPipe(org.apache.axiom.om.OMElement element)
Constructor which create IOElementPipe object with an OMElement object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnections()
Close the opened connections
|
byte[] |
getData(int count,
int off)
Copy data from outputStream to a byte array.
|
public IOElementPipe(org.apache.axiom.om.OMElement element)
throws XMLStreamException,
FactoryConfigurationError
element - OMElement objectXMLStreamExceptionFactoryConfigurationErrorpublic final byte[] getData(int count,
int off)
throws XMLStreamException
count - Number of bytes requested to readoff - Stating point of byte array to copy dataXMLStreamExceptionFactoryConfigurationErrorpublic void closeConnections()
throws XMLStreamException,
IOException
XMLStreamExceptionIOExceptionCopyright © 2019 WSO2. All rights reserved.