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 javax.xml.stream.XMLStreamException
xmlFragment
- the well-formed XML fragmentjavax.xml.stream.XMLStreamException
public static OMElement stringToOM(OMFactory omFactory, String xmlFragment) throws javax.xml.stream.XMLStreamException
omFactory
- the factory used to build the object modelxmlFragment
- the well-formed XML fragmentjavax.xml.stream.XMLStreamException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.