org.plasma.provisioning
Class ProvisioningModelDataBinding
java.lang.Object
org.plasma.provisioning.ProvisioningModelDataBinding
- All Implemented Interfaces:
- DataBinding
public class ProvisioningModelDataBinding
- extends Object
- implements DataBinding
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILENAME_SCHEMA_CHAIN_ROOT
public static String FILENAME_SCHEMA_CHAIN_ROOT
RESOURCE_CLASS
public static Class<?> RESOURCE_CLASS
FACTORIES
public static Class<?>[] FACTORIES
ProvisioningModelDataBinding
public ProvisioningModelDataBinding(BindingValidationEventHandler validationEventHandler)
throws JAXBException,
SAXException
- Throws:
JAXBException
SAXException
getObjectFactories
public Class<?>[] getObjectFactories()
marshal
public String marshal(Object root)
throws JAXBException
- Specified by:
marshal in interface DataBinding
- Throws:
JAXBException
marshal
public void marshal(Object root,
OutputStream stream)
throws JAXBException
- Throws:
JAXBException
marshal
public void marshal(Object root,
OutputStream stream,
boolean formattedOutput)
throws JAXBException
- Throws:
JAXBException
unmarshal
public Object unmarshal(String xml)
throws JAXBException
- Specified by:
unmarshal in interface DataBinding
- Throws:
JAXBException
unmarshal
public Object unmarshal(InputStream stream)
throws JAXBException
- Specified by:
unmarshal in interface DataBinding
- Throws:
JAXBException
validate
public Object validate(String xml)
throws JAXBException
- Specified by:
validate in interface DataBinding
- Throws:
JAXBException
validate
public Object validate(InputStream xml)
throws JAXBException,
UnmarshalException
- Specified by:
validate in interface DataBinding
- Throws:
JAXBException
UnmarshalException
getValidationEventHandler
public BindingValidationEventHandler getValidationEventHandler()
throws JAXBException
- Specified by:
getValidationEventHandler in interface DataBinding
- Throws:
JAXBException
Copyright © 2014. All rights reserved.