com.metamatrix.common.vdb.api
Class DEFReaderWriter

java.lang.Object
  extended by com.metamatrix.common.vdb.api.DEFReaderWriter

public class DEFReaderWriter
extends java.lang.Object


Nested Class Summary
static interface DEFReaderWriter.Header
           
static class DEFReaderWriter.Model
           
static class DEFReaderWriter.Property
           
static class DEFReaderWriter.VDBInfo
           
 
Constructor Summary
DEFReaderWriter()
           
 
Method Summary
protected  java.util.Properties getElementProperties(org.jdom.Element rootElement)
           
 BasicVDBDefn read(java.io.InputStream defStream)
           
 void write(java.io.OutputStream outstream, BasicVDBDefn def, java.util.Properties headerProperties)
          Write the DEF contents into given output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DEFReaderWriter

public DEFReaderWriter()
Method Detail

read

public BasicVDBDefn read(java.io.InputStream defStream)
                  throws java.io.IOException
Throws:
java.io.IOException

getElementProperties

protected java.util.Properties getElementProperties(org.jdom.Element rootElement)

write

public void write(java.io.OutputStream outstream,
                  BasicVDBDefn def,
                  java.util.Properties headerProperties)
           throws java.io.IOException
Write the DEF contents into given output stream

Parameters:
outstream -
def -
headerProperties -
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.