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 fragmentXMLStreamException
public static OMElement stringToOM(OMFactory omFactory, String xmlFragment) throws XMLStreamException
omFactory
- the factory used to build the object modelxmlFragment
- the well-formed XML fragmentXMLStreamException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.