edu.cmu.sei.aadl.annex
Class AnnexUnparserProxy

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

public class AnnexUnparserProxy
extends java.lang.Object
implements AnnexUnparser

Version:
$Id: AnnexUnparserProxy.java,v 1.2 2007-06-28 22:02:41 jseibel Exp $
Author:
lwrage

Field Summary
protected  java.lang.String annexName
           
protected static java.lang.String ATT_ANNEXNAME
           
protected static java.lang.String ATT_CLASS
           
protected static java.lang.String ATT_ID
           
protected static java.lang.String ATT_NAME
           
protected  java.lang.String className
           
protected  org.eclipse.core.runtime.IConfigurationElement configElem
           
protected  java.lang.String id
           
protected  java.lang.String name
           
 
Constructor Summary
AnnexUnparserProxy(org.eclipse.core.runtime.IConfigurationElement configElem)
           
 
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
 

Field Detail

ATT_ID

protected static final java.lang.String ATT_ID
See Also:
Constant Field Values

ATT_NAME

protected static final java.lang.String ATT_NAME
See Also:
Constant Field Values

ATT_ANNEXNAME

protected static final java.lang.String ATT_ANNEXNAME
See Also:
Constant Field Values

ATT_CLASS

protected static final java.lang.String ATT_CLASS
See Also:
Constant Field Values

configElem

protected final org.eclipse.core.runtime.IConfigurationElement configElem

id

protected final java.lang.String id

name

protected final java.lang.String name

annexName

protected final java.lang.String annexName

className

protected final java.lang.String className
Constructor Detail

AnnexUnparserProxy

public AnnexUnparserProxy(org.eclipse.core.runtime.IConfigurationElement configElem)
Parameters:
configElem -
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.