org.apache.ws.jaxme.js
Class JavaInnerClass

java.lang.Object
  extended by org.apache.ws.jaxme.js.IndentationEngineImpl
      extended by org.apache.ws.jaxme.js.JavaSource
          extended by org.apache.ws.jaxme.js.JavaInnerClass
All Implemented Interfaces:
IndentationEngine

public class JavaInnerClass
extends JavaSource

Implements an inner class.

Author:
Jochen Wiedmann

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.ws.jaxme.js.JavaSource
JavaSource.Protection, JavaSource.Type
 
Field Summary
 
Fields inherited from class org.apache.ws.jaxme.js.JavaSource
CLASS, DEFAULT_PROTECTION, INTERFACE, PRIVATE, PROTECTED, PUBLIC
 
Fields inherited from interface org.apache.ws.jaxme.js.IndentationEngine
NOTHING
 
Method Summary
 void addImport(java.lang.String s)
          Throws an exception, as inner classes don't have import statements.
 JavaSource getOuterClass()
          Returns the outer JavaSource instance.
 boolean getStatic()
          Returns whether this inner class is static.
 boolean isInnerClass()
          Returns, whether this is an inner class.
 void setStatic(boolean pStatic)
          Sets whether this inner class is static.
 
Methods inherited from class org.apache.ws.jaxme.js.JavaSource
addExtends, addExtends, addImplements, addImplements, addImport, addImport, addInnerClass, addRawJavaSource, asString, clearExtends, clearImplements, clearImports, clearInnerClasses, clearRawJavaSources, getClassInitializers, getClassName, getComment, getConstructor, getConstructorIterator, getConstructors, getExtends, getFactory, getField, getFields, getImplements, getImports, getInnerClass, getInnerClasses, getMethod, getMethodIterator, getMethods, getPackageName, getProtection, getQName, getQuoted, getQuotedNoQuotes, getRawJavaSources, getType, hasDynamicImports, isAbstract, isExtending, isExtending, isForcingFullyQualifiedName, isImplementing, isImplementing, isInterface, newBeanProperty, newBeanProperty, newBeanProperty, newBeanProperty, newComment, newJavaClassInitializer, newJavaConstructor, newJavaConstructor, newJavaConstructor, newJavaConstructor, newJavaConstructor, newJavaConstructor, newJavaField, newJavaField, newJavaField, newJavaField, newJavaField, newJavaField, newJavaField, newJavaField, newJavaField, newJavaField, newJavaInnerClass, newJavaInnerClass, newJavaInnerClass, newJavaMethod, newJavaMethod, newJavaMethod, newJavaMethod, newJavaMethod, newJavaMethod, newJavaMethod, newJavaMethod, newJavaMethod, newJavaMethod, newJavaMethod, setAbstract, setDynamicImports, setForcingFullyQualifiedName, setProtection, setQName, setType, toString, write, write
 
Methods inherited from class org.apache.ws.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, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getOuterClass

public JavaSource getOuterClass()

Returns the outer JavaSource instance.


addImport

public void addImport(java.lang.String s)

Throws an exception, as inner classes don't have import statements.


getStatic

public boolean getStatic()

Returns whether this inner class is static.

Overrides:
getStatic in class JavaSource

setStatic

public void setStatic(boolean pStatic)

Sets whether this inner class is static.

Overrides:
setStatic in class JavaSource

isInnerClass

public boolean isInnerClass()

Returns, whether this is an inner class.

Overrides:
isInnerClass in class JavaSource