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 objectXMLStreamException
FactoryConfigurationError
public final byte[] getData(int count, int off) throws XMLStreamException
count
- Number of bytes requested to readoff
- Stating point of byte array to copy dataXMLStreamException
FactoryConfigurationError
public void closeConnections() throws XMLStreamException, IOException
XMLStreamException
IOException
Copyright © 2019 WSO2. All rights reserved.