org.apache.axiom.om.impl.llom.util
Class AXIOMUtil

java.lang.Object
  extended by org.apache.axiom.om.impl.llom.util.AXIOMUtil

public class AXIOMUtil
extends java.lang.Object


Constructor Summary
AXIOMUtil()
           
 
Method Summary
static org.apache.axiom.om.OMElement stringToOM(java.lang.String xmlFragment)
          This will help you to create an OMElement from an xml fragment which you have as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AXIOMUtil

public AXIOMUtil()
Method Detail

stringToOM

public static org.apache.axiom.om.OMElement stringToOM(java.lang.String xmlFragment)
                                                throws javax.xml.stream.XMLStreamException
This will help you to create an OMElement from an xml fragment which you have as a string.

Parameters:
xmlFragment - - the well-formed xml fragment
Returns:
The OMElement created out of the string xml fragment.
Throws:
javax.xml.stream.XMLStreamException