public class AXIOMUtil
extends java.lang.Object
| Constructor and Description |
|---|
AXIOMUtil() |
| Modifier and Type | Method and Description |
|---|---|
static OMElement |
stringToOM(OMFactory omFactory,
java.lang.String xmlFragment)
Create an OMElement from an XML fragment given as a string.
|
static OMElement |
stringToOM(java.lang.String xmlFragment)
Create an OMElement from an XML fragment given as a string.
|
public static OMElement stringToOM(java.lang.String xmlFragment) throws javax.xml.stream.XMLStreamException
xmlFragment - the well-formed XML fragmentjavax.xml.stream.XMLStreamExceptionpublic static OMElement stringToOM(OMFactory omFactory, java.lang.String xmlFragment) throws javax.xml.stream.XMLStreamException
omFactory - the factory used to build the object modelxmlFragment - the well-formed XML fragmentjavax.xml.stream.XMLStreamException