org.modeldriven.fuml.repository
Class RepositoryConfigDataBinding
java.lang.Object
org.modeldriven.fuml.repository.RepositoryConfigDataBinding
- All Implemented Interfaces:
- DataBinding
public class RepositoryConfigDataBinding
- extends Object
- implements DataBinding
FILENAME_SCHEMA_CHAIN_ROOT
public static String FILENAME_SCHEMA_CHAIN_ROOT
RESOURCE_CLASS
public static Class RESOURCE_CLASS
FACTORIES
public static Class[] FACTORIES
RepositoryConfigDataBinding
public RepositoryConfigDataBinding(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
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 © 2012. All Rights Reserved.