public class XmlCodec extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XmlCodec.PropertiesFilter
Changes ${property} with values from a properties object
|
| Modifier and Type | Field and Description |
|---|---|
static JAXBContext |
_context |
| Constructor and Description |
|---|
XmlCodec() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
decode(Class<T> clazz,
InputStream is) |
static <T> T |
decode(Class<T> clazz,
InputStream is,
Properties props) |
static <T> T |
decode(Class<T> clazz,
InputStream is,
Properties props,
ValidationEventHandler validationHandler) |
static <T> T |
decode(Class<T> clazz,
URL url) |
static <T> T |
decode(Class<T> clazz,
URL url,
Properties props) |
static void |
encode(Object in,
OutputStream os,
boolean format) |
public static volatile JAXBContext _context
public static <T> T decode(Class<T> clazz, URL url) throws IOException, XMLStreamException, JAXBException, SAXException
public static <T> T decode(Class<T> clazz, URL url, Properties props) throws IOException, XMLStreamException, JAXBException, SAXException
public static <T> T decode(Class<T> clazz, InputStream is) throws IOException, XMLStreamException, JAXBException, SAXException
public static <T> T decode(Class<T> clazz, InputStream is, Properties props) throws IOException, XMLStreamException, JAXBException, SAXException
public static <T> T decode(Class<T> clazz, InputStream is, Properties props, ValidationEventHandler validationHandler) throws IOException, XMLStreamException, JAXBException, SAXException
public static void encode(Object in, OutputStream os, boolean format) throws JAXBException
JAXBExceptionCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.