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 RepositoryDataRetrievalException
public 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.XMLStreamException
org.apache.axiom.om.OMException
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.