|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.js.IndentationEngineImpl net.sf.jaxme.js.JavaSourceObject
This class implements a generic JavaSource object.
Field Summary |
Fields inherited from interface net.sf.jaxme.js.IndentationEngine |
NOTHING |
Constructor Summary | |
protected |
JavaSourceObject(java.lang.String pName,
JavaQName pType)
|
protected |
JavaSourceObject(java.lang.String pName,
JavaQName pType,
JavaSource.Protection pProtection)
|
protected |
JavaSourceObject(java.lang.String pName,
java.lang.String pType)
|
protected |
JavaSourceObject(java.lang.String pName,
java.lang.String pType,
JavaSource.Protection pProtection)
|
Method Summary | |
JavaComment |
getComment()
Returns a comment describing this JavaSource object. |
JavaSource |
getJavaSource()
|
java.lang.String |
getName()
Returns this JavaSource objects name. |
JavaSource.Protection |
getProtection()
Returns this JavaSource objects protection. |
JavaQName |
getType()
Returns this JavaSource objects type. |
boolean |
isAbstract()
Returns whether this JavaSource object is abstract. |
boolean |
isFinal()
Returns whether this is a final JavaSource object. |
boolean |
isStatic()
Returns whether this is a static JavaSource object. |
JavaComment |
newComment()
Creates a new Javadoc comment describing this JavaSource object. |
void |
setAbstract(boolean isAbstract)
Sets whether this JavaSource object is abstract, |
void |
setFinal(boolean pFinal)
Sets whether this is a final JavaSource object. |
protected void |
setJavaSource(JavaSource pSource)
|
void |
setName(java.lang.String n)
Sets this JavaSource objects name. |
void |
setProtection(JavaSource.Protection p)
Sets this JavaSource objects protection. |
void |
setStatic(boolean pStatic)
Sets whether this is a static JavaSource object. |
void |
setType(JavaQName t)
Sets this JavaSource objects type. |
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, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected JavaSourceObject(java.lang.String pName, JavaQName pType, JavaSource.Protection pProtection)
protected JavaSourceObject(java.lang.String pName, JavaQName pType)
protected JavaSourceObject(java.lang.String pName, java.lang.String pType, JavaSource.Protection pProtection)
protected JavaSourceObject(java.lang.String pName, java.lang.String pType)
Method Detail |
public java.lang.String getName()
Returns this JavaSource objects name.
setName(java.lang.String)
public void setName(java.lang.String n)
Sets this JavaSource objects name.
getName()
public boolean isFinal()
Returns whether this is a final JavaSource object.
setFinal(boolean)
public void setFinal(boolean pFinal)
Sets whether this is a final JavaSource object.
isFinal()
public boolean isStatic()
Returns whether this is a static JavaSource object.
setStatic(boolean)
public void setStatic(boolean pStatic)
Sets whether this is a static JavaSource object.
isStatic()
public JavaQName getType()
Returns this JavaSource objects type.
setType(net.sf.jaxme.js.JavaQName)
public void setType(JavaQName t)
Sets this JavaSource objects type.
getType()
public JavaSource.Protection getProtection()
Returns this JavaSource objects protection.
setProtection(net.sf.jaxme.js.JavaSource.Protection)
public void setProtection(JavaSource.Protection p)
Sets this JavaSource objects protection.
p
- null, "public", "protected" or "private"getProtection()
public JavaComment getComment()
Returns a comment describing this JavaSource object.
newComment()
public JavaComment newComment()
Creates a new Javadoc comment describing this JavaSource object.
getComment()
public boolean isAbstract()
Returns whether this JavaSource object is abstract.
public void setAbstract(boolean isAbstract)
Sets whether this JavaSource object is abstract,
protected void setJavaSource(JavaSource pSource)
public JavaSource getJavaSource()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |