Main Page | Packages | Class Hierarchy | Class List | Class Members

org.byteml.serialize.ByteMLBuilder Class Reference

Inheritance diagram for org.byteml.serialize.ByteMLBuilder:

org.byteml.ByteMLConstants List of all members.

Public Member Functions

Document parseClass (String filename) throws ByteMLException

Static Public Member Functions

void transform (Document doc, OutputStream out) throws IOException, ByteMLException

Detailed Description

ByteML Builder class for building ByteML documents.
Author:
Karthik Kumar.


Member Function Documentation

Document org.byteml.serialize.ByteMLBuilder.parseClass String  filename  )  throws ByteMLException
 

Parse the class file given as input and generate the XML Document class.

Parameters:
filename Filename of the .class file.
Returns:
Returns the XML Document.
Exceptions:
ByteMLException Thrown in case of any error encountered while parsing class file to a XML file.

void org.byteml.serialize.ByteMLBuilder.transform Document  doc,
OutputStream  out
throws IOException, ByteMLException [static]
 

Customer Transformer to tranform a XML Docuemnt to OutputStream using SAX Doc. Handlers.

Parameters:
doc Document
out OutputStream to be written to.
Exceptions:
IOException Thrown in case of a tranformation error.
ByteMLException Thrown in case of a transformer config. error.


The documentation for this class was generated from the following file:
Generated on Thu Jan 20 20:26:35 2005 for ByteML-BytecodeMarkupLanguage by doxygen 1.3.7