org.devaki.nextobjects.util
Class NOXMLOutputer

java.lang.Object
  extended byorg.devaki.nextobjects.util.NOXMLOutputer

public class NOXMLOutputer
extends java.lang.Object

this class is responsible for devaki-nextobjects XML output

additionaly the DOM tree might be checked against a DTD (not implemented) This class may cause problem as at time of writing the static instance can make only one I/O at at time

Author:
Emmanuel Florent

Constructor Summary
NOXMLOutputer()
           
 
Method Summary
static void writeModel(ConceptualModel pCDM, java.io.OutputStream out)
          Write a model to an XML stream.
static void writeModel(PhysicalModel pPDM, java.io.OutputStream out)
          Save a PDM to an XML stream
static void writeProjectDotXml(BaseModel pBaseModel, java.io.OutputStream out)
          Write a project.xml file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NOXMLOutputer

public NOXMLOutputer()
Method Detail

writeModel

public static void writeModel(ConceptualModel pCDM,
                              java.io.OutputStream out)
Write a model to an XML stream.

Parameters:
pCDM - the conceptual Model to write
out - the output stream
Throws:
java.io.IOException
JDOMException

writeModel

public static void writeModel(PhysicalModel pPDM,
                              java.io.OutputStream out)
Save a PDM to an XML stream

Parameters:
pPDM - the physical model toi write
out - the output stream
Throws:
java.io.IOException
JDOMException

writeProjectDotXml

public static void writeProjectDotXml(BaseModel pBaseModel,
                                      java.io.OutputStream out)
                               throws java.io.IOException
Write a project.xml file.

Parameters:
pBaseModel - the related model
out - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception


Copyright © 2002-2004 devaki.org. All Rights Reserved.