public class ConfigUtils extends Object
| Constructor and Description |
|---|
ConfigUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Marshaller |
createMarshaller() |
static Unmarshaller |
createUnmarshaller() |
protected static void |
init() |
static CFLintPluginInfo |
loadDefaultPluginInfo() |
static CFLintScanner |
loadPlugin(CFLintPluginInfo.PluginInfoRule ruleInfo) |
static String |
marshal(Object obj) |
static String |
marshalQuietly(Object obj) |
static <E> E |
unmarshal(InputStream inputStream,
Class<E> expectedClass) |
static <E> E |
unmarshal(String xml,
Class<E> expectedClass) |
public static Marshaller createMarshaller() throws JAXBException
JAXBExceptionpublic static Unmarshaller createUnmarshaller() throws JAXBException
JAXBExceptionprotected static void init()
throws JAXBException
JAXBExceptionpublic static String marshal(Object obj) throws JAXBException
JAXBExceptionpublic static <E> E unmarshal(String xml, Class<E> expectedClass) throws JAXBException
JAXBExceptionpublic static <E> E unmarshal(InputStream inputStream, Class<E> expectedClass) throws JAXBException
JAXBExceptionpublic static CFLintPluginInfo loadDefaultPluginInfo()
public static CFLintScanner loadPlugin(CFLintPluginInfo.PluginInfoRule ruleInfo)
Copyright © 2013–2015 CFLint. All rights reserved.