com.ca.commons.datamodel
Class DataModelWritableSource
java.lang.Object
com.ca.commons.datamodel.DataModelSource
com.ca.commons.datamodel.DataModelWritableSource
- Direct Known Subclasses:
- DataModelWritableJaxbSource, DataModelWritableStreamSource, ReaderWriterSource
public abstract class DataModelWritableSource
- extends DataModelSource
Acts as a source to read a datamodel fragment from, and optionally to
write it back out to.
DataModelWritableSource
protected DataModelWritableSource(@NotNull
String name)
newMarshaller
@NotNull
protected static javax.xml.bind.Marshaller newMarshaller()
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
writeJaxbModel
public final void writeJaxbModel(@NotNull
ModelType jaxbModel)
throws javax.xml.bind.JAXBException,
IOException
- Throws:
javax.xml.bind.JAXBException
IOException
writeJaxbModelImpl
protected abstract void writeJaxbModelImpl(@NotNull
ModelType jaxbModel)
throws javax.xml.bind.JAXBException,
IOException
- Throws:
javax.xml.bind.JAXBException
IOException
writeComplete
protected void writeComplete()
Created 2011-07-14 13:27 EST