com.ca.commons.datamodel
Class DataModelWritableStringSource

java.lang.Object
  extended by com.ca.commons.datamodel.DataModelSource
      extended by com.ca.commons.datamodel.DataModelWritableSource
          extended by com.ca.commons.datamodel.ReaderWriterSource
              extended by com.ca.commons.datamodel.DataModelWritableStringSource

public class DataModelWritableStringSource
extends ReaderWriterSource

Author:
hasna01

Field Summary
 
Fields inherited from class com.ca.commons.datamodel.DataModelSource
logger
 
Constructor Summary
DataModelWritableStringSource(String name, String content)
           
 
Method Summary
 String getContent()
           
protected  Reader reader()
           
 void writeComplete()
           
protected  Writer writer()
           
 
Methods inherited from class com.ca.commons.datamodel.ReaderWriterSource
readJaxbModelImpl, writeJaxbModelImpl
 
Methods inherited from class com.ca.commons.datamodel.DataModelWritableSource
newMarshaller, writeJaxbModel
 
Methods inherited from class com.ca.commons.datamodel.DataModelSource
equals, getName, hashCode, invalidate, isChanged, lastModified, override, readComplete, readJaxbModel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataModelWritableStringSource

public DataModelWritableStringSource(@NotNull
                                     String name,
                                     @NotNull
                                     String content)
Method Detail

reader

@NotNull
protected Reader reader()
                 throws IOException
Specified by:
reader in class ReaderWriterSource
Throws:
IOException

writer

@NotNull
protected Writer writer()
                 throws IOException
Specified by:
writer in class ReaderWriterSource
Throws:
IOException

writeComplete

public void writeComplete()
Overrides:
writeComplete in class DataModelWritableSource

getContent

public String getContent()


Created 2011-07-14 13:27 EST