org.apache.ws.jaxme.js

Class JavaInnerClass

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(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, getStatic, getType, hasDynamicImports, isAbstract, isExtending, isExtending, isForcingFullyQualifiedName, isImplementing, isImplementing, isInnerClass, 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, setStatic, 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, write

Method Details

addImport

public void addImport(String s)
Throws an exception, as inner classes don't have import statements.

getOuterClass

public JavaSource getOuterClass()
Returns the outer JavaSource instance.

getStatic

public boolean getStatic()
Returns whether this inner class is static.
Overrides:
getStatic in interface JavaSource

isInnerClass

public boolean isInnerClass()
Returns, whether this is an inner class.
Overrides:
isInnerClass in interface JavaSource

setStatic

public void setStatic(boolean pStatic)
Sets whether this inner class is static.
Overrides:
setStatic in interface JavaSource