public class DataRetrievalUtil
extends java.lang.Object
| Constructor and Description |
|---|
DataRetrievalUtil() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.axiom.om.OMElement |
buildOM(java.lang.ClassLoader classLoader,
java.lang.String file)
Loading xml file content and convert to OMElement.
|
static org.apache.axiom.om.OMElement |
convertToOMElement(java.io.InputStream servicexmlStream)
Convert servicexmlStream to OMElement
|
static DataRetrievalUtil |
getInstance() |
public static DataRetrievalUtil getInstance()
public org.apache.axiom.om.OMElement buildOM(java.lang.ClassLoader classLoader,
java.lang.String file)
throws DataRetrievalException
file - - file path relative to the Service RepositoryDataRetrievalExceptionpublic static org.apache.axiom.om.OMElement convertToOMElement(java.io.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-2018 The Apache Software Foundation. All Rights Reserved.