public class StaxUtil extends Object
| Constructor and Description | 
|---|
StaxUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
sanitizeXmlTypeName(String name)
Since XML names can not contain all characters JSON names can, we may
 need to replace characters. 
 | 
static <T> T | 
throwXmlAsIOException(XMLStreamException e)
Adapter method used when only IOExceptions are declared to be thrown, but
 a  
XMLStreamException was caught. | 
public static <T> T throwXmlAsIOException(XMLStreamException e) throws IOException
XMLStreamException was caught.
Note: dummy type variable is used for convenience, to allow caller to claim that this method returns result of any necessary type.
IOExceptionCopyright © 2014-2015 FasterXML. All Rights Reserved.