net.sf.magicproject.xml
Class XmlAnnoted

java.lang.Object
  extended by net.sf.magicproject.xml.XmlAnnoted
All Implemented Interfaces:
XmlToMDB
Direct Known Subclasses:
XmlAnnoted

public abstract class XmlAnnoted
extends java.lang.Object
implements XmlToMDB

Since:
0.94
Author:
Fabrice Daugan

Constructor Summary
XmlAnnoted()
           
 
Method Summary
abstract  int buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
 void setAnnotedClass(java.lang.Class<?> annotedClass)
          Set the annoted class.
 void setXmlElement(XmlTestElement xmlElement)
          Set XmlElement associated to this builder
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlAnnoted

public XmlAnnoted()
Method Detail

setXmlElement

public void setXmlElement(XmlTestElement xmlElement)
Set XmlElement associated to this builder

Parameters:
xmlElement - XmlElement associated to this builder.

setAnnotedClass

public void setAnnotedClass(java.lang.Class<?> annotedClass)
Set the annoted class.

Parameters:
annotedClass - the annoted class.

buildMdb

public abstract int buildMdb(XmlParser.Node node,
                             java.io.OutputStream out)
                      throws java.io.IOException
Specified by:
buildMdb in interface XmlToMDB
Parameters:
node - the XML structure of element to write.
out - outputstream where the card structure will be saved
Returns:
the amount of written action in the output.
Throws:
java.io.IOException - If some other I/O error occurs


Copyright © 2003-2007 Magic-Project. All Rights Reserved.