edu.cmu.sei.aadl.annex
Class DefaultAnnexUnparser

java.lang.Object
  extended by edu.cmu.sei.aadl.annex.DefaultAnnexUnparser
All Implemented Interfaces:
AnnexUnparser

public class DefaultAnnexUnparser
extends java.lang.Object
implements AnnexUnparser

This class is the default annex unparser. It processes objects of type DefaultAnnexLibrary and DefaultAnnexSubclause.

Version:
$Id: DefaultAnnexUnparser.java,v 1.2 2006-02-28 19:40:22 lwrage Exp $
Author:
lwrage

Constructor Summary
DefaultAnnexUnparser()
           
 
Method Summary
 java.lang.String unparseAnnexLibrary(AnnexLibrary library, java.lang.String indent)
          Unparse an annex library element found in an AADL model.
 java.lang.String unparseAnnexSubclause(AnnexSubclause subclause, java.lang.String indent)
          Unarse an annex subclause element found in an AADL model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAnnexUnparser

public DefaultAnnexUnparser()
Method Detail

unparseAnnexLibrary

public java.lang.String unparseAnnexLibrary(AnnexLibrary library,
                                            java.lang.String indent)
Description copied from interface: AnnexUnparser
Unparse an annex library element found in an AADL model.

Specified by:
unparseAnnexLibrary in interface AnnexUnparser
Parameters:
library - the annex library to unparse.
indent - initial indentation for each line.
Returns:
The source text for the annex library.

unparseAnnexSubclause

public java.lang.String unparseAnnexSubclause(AnnexSubclause subclause,
                                              java.lang.String indent)
Description copied from interface: AnnexUnparser
Unarse an annex subclause element found in an AADL model.

Specified by:
unparseAnnexSubclause in interface AnnexUnparser
Parameters:
subclause - the source text string in the annex library.
indent - initial indentation for each line.
Returns:
The source text for the annex subclause.