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 XMLStreamException, org.apache.axiom.om.OMException
servicexmlStream
- InputStream contain xml contentXMLStreamException
org.apache.axiom.om.OMException
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.