com.ca.commons.datamodel
Class DataModelStringSource

java.lang.Object
  extended by com.ca.commons.datamodel.DataModelSource
      extended by com.ca.commons.datamodel.ReaderSource
          extended by com.ca.commons.datamodel.DataModelStringSource

public class DataModelStringSource
extends ReaderSource

in memory read-write source from an initial String.


Field Summary
 
Fields inherited from class com.ca.commons.datamodel.DataModelSource
logger
 
Constructor Summary
DataModelStringSource(String name, String content)
           
 
Method Summary
 void readComplete()
           
protected  Reader reader()
           
 
Methods inherited from class com.ca.commons.datamodel.ReaderSource
readJaxbModelImpl
 
Methods inherited from class com.ca.commons.datamodel.DataModelSource
equals, getName, hashCode, invalidate, isChanged, lastModified, override, readJaxbModel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataModelStringSource

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

reader

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

readComplete

public void readComplete()
Overrides:
readComplete in class DataModelSource


Created 2011-07-14 13:27 EST