net.sf.jaxme.js
Class JavaConstructor

java.lang.Object
  extended bynet.sf.jaxme.js.IndentationEngineImpl
      extended bynet.sf.jaxme.js.JavaSourceObject
          extended bynet.sf.jaxme.js.ConditionalIndentationJavaSourceObject
              extended bynet.sf.jaxme.js.AbstractJavaMethod
                  extended bynet.sf.jaxme.js.JavaConstructor
All Implemented Interfaces:
ConditionalIndentationEngine, IndentationEngine

public class JavaConstructor
extends AbstractJavaMethod

An implementation of a Java constructor.

Author:
Jochen Wiedmann

Nested Class Summary
 
Nested classes inherited from class net.sf.jaxme.js.ConditionalIndentationJavaSourceObject
ConditionalIndentationJavaSourceObject.LJFImpl, ConditionalIndentationJavaSourceObject.LoopVariable
 
Field Summary
 
Fields inherited from interface net.sf.jaxme.js.IndentationEngine
NOTHING
 
Method Summary
 java.lang.String getName()
          Returns this JavaSource objects name.
protected  void writeHeader(IndentationTarget pTarget)
           
 
Methods inherited from class net.sf.jaxme.js.AbstractJavaMethod
addParam, addParam, addParam, addParam, addParam, addThrows, addThrows, addThrows, clearParams, getExceptions, getParams, isThrowing, isThrowing
 
Methods inherited from class net.sf.jaxme.js.ConditionalIndentationJavaSourceObject
addBreak, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCase, addCatch, addCatch, addCatch, addCatch, addDefault, addElse, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addElseIf, addEndFor, addEndIf, addEndSwitch, addEndTry, addEndWhile, addFinally, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addFor, addForArray, addForArray, addForArray, addForArray, addForArray, addForArray, addForCollection, addForCollection, addForCollection, addForCollection, addForCollection, addForCollection, addForEnumeration, addForEnumeration, addForEnumeration, addForEnumeration, addForEnumeration, addForEnumeration, addForIterator, addForIterator, addForIterator, addForIterator, addForIterator, addForIterator, addForList, addForList, addForList, addForList, addForList, addForList, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addIf, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addSwitch, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addThrowNew, addTry, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhile, addWhileIterator, getLocalVariableName, newJavaField, newJavaField, newJavaField, newJavaField, write, write
 
Methods inherited from class net.sf.jaxme.js.JavaSourceObject
getComment, getJavaSource, getProtection, getType, isAbstract, isFinal, isStatic, newComment, setAbstract, setFinal, setJavaSource, setName, setProtection, setStatic, setType
 
Methods inherited from class net.sf.jaxme.js.IndentationEngineImpl
addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, asString, checkNulls, clear, getLevel, getLines, getLines, getPlaceHolder, indent, isEmpty, moveToBottom, moveToTop, newPlaceHolder, removePlaceHolder, setLevel, unindent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.js.IndentationEngine
addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, clear, getLevel, getPlaceHolder, indent, moveToBottom, moveToTop, newPlaceHolder, setLevel, unindent
 

Method Detail

getName

public java.lang.String getName()
Description copied from class: JavaSourceObject

Returns this JavaSource objects name.

Overrides:
getName in class JavaSourceObject
See Also:
JavaSourceObject.setName(java.lang.String)

writeHeader

protected void writeHeader(IndentationTarget pTarget)
                    throws java.io.IOException
Specified by:
writeHeader in class ConditionalIndentationJavaSourceObject
Throws:
java.io.IOException