public class DataRetrievalUtil extends Object
| Constructor and Description |
|---|
DataRetrievalUtil() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.axiom.om.OMElement |
buildOM(ClassLoader classLoader,
String file)
Loading xml file content and convert to OMElement.
|
static org.apache.axiom.om.OMElement |
convertToOMElement(InputStream servicexmlStream)
Convert servicexmlStream to OMElement
|
static DataRetrievalUtil |
getInstance() |
public static DataRetrievalUtil getInstance()
public org.apache.axiom.om.OMElement buildOM(ClassLoader classLoader, String file) throws DataRetrievalException
file - - file path relative to the Service RepositoryDataRetrievalExceptionpublic static org.apache.axiom.om.OMElement convertToOMElement(InputStream servicexmlStream) throws javax.xml.stream.XMLStreamException, org.apache.axiom.om.OMException
servicexmlStream - InputStream contain xml contentjavax.xml.stream.XMLStreamExceptionorg.apache.axiom.om.OMExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.