public class PlasmaConfigDataBinding extends Object implements org.plasma.common.bind.DataBinding
| Modifier and Type | Field and Description |
|---|---|
static Class<?>[] |
FACTORIES |
static String |
FILENAME_SCHEMA_CHAIN_ROOT |
static Class<?> |
RESOURCE_CLASS |
| Constructor and Description |
|---|
PlasmaConfigDataBinding(org.plasma.common.bind.BindingValidationEventHandler validationEventHandler) |
| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
getObjectFactories() |
org.plasma.common.bind.BindingValidationEventHandler |
getValidationEventHandler() |
String |
marshal(Object root) |
void |
marshal(Object root,
OutputStream stream) |
Object |
unmarshal(InputStream stream) |
Object |
unmarshal(String xml) |
Object |
validate(InputStream xml) |
Object |
validate(String xml) |
public static String FILENAME_SCHEMA_CHAIN_ROOT
public static Class<?> RESOURCE_CLASS
public static Class<?>[] FACTORIES
public PlasmaConfigDataBinding(org.plasma.common.bind.BindingValidationEventHandler validationEventHandler)
throws JAXBException,
SAXException
JAXBExceptionSAXExceptionpublic Class<?>[] getObjectFactories()
public String marshal(Object root) throws JAXBException
marshal in interface org.plasma.common.bind.DataBindingJAXBExceptionpublic void marshal(Object root, OutputStream stream) throws JAXBException
JAXBExceptionpublic Object unmarshal(String xml) throws JAXBException
unmarshal in interface org.plasma.common.bind.DataBindingJAXBExceptionpublic Object unmarshal(InputStream stream) throws JAXBException
unmarshal in interface org.plasma.common.bind.DataBindingJAXBExceptionpublic Object validate(String xml) throws JAXBException
validate in interface org.plasma.common.bind.DataBindingJAXBExceptionpublic Object validate(InputStream xml) throws JAXBException, UnmarshalException
validate in interface org.plasma.common.bind.DataBindingJAXBExceptionUnmarshalExceptionpublic org.plasma.common.bind.BindingValidationEventHandler getValidationEventHandler()
throws JAXBException
getValidationEventHandler in interface org.plasma.common.bind.DataBindingJAXBExceptionCopyright © 2017. All rights reserved.