| Constructor and Description |
|---|
AXIOMUtil() |
| Modifier and Type | Method and Description |
|---|---|
static OMElement |
stringToOM(OMFactory omFactory,
String xmlFragment)
Create an OMElement from an XML fragment given as a string.
|
static OMElement |
stringToOM(String xmlFragment)
Create an OMElement from an XML fragment given as a string.
|
public static OMElement stringToOM(String xmlFragment) throws XMLStreamException
xmlFragment - the well-formed XML fragmentXMLStreamExceptionpublic static OMElement stringToOM(OMFactory omFactory, String xmlFragment) throws XMLStreamException
omFactory - the factory used to build the object modelxmlFragment - the well-formed XML fragmentXMLStreamExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.