|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.js.IndentationEngineImpl org.apache.ws.jaxme.js.JavaSourceObject
public abstract class JavaSourceObject
This class implements a generic JavaSource object.
Field Summary |
---|
Fields inherited from interface org.apache.ws.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()
Returns the class, to which this JavaSource object belongs. |
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 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 |
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()
setName(java.lang.String)
public void setName(java.lang.String n)
getName()
public boolean isFinal()
setFinal(boolean)
public void setFinal(boolean pFinal)
isFinal
public boolean isStatic()
setStatic(boolean)
public void setStatic(boolean pStatic)
isStatic
public JavaQName getType()
setType(org.apache.ws.jaxme.js.JavaQName)
public void setType(JavaQName t)
getType()
public JavaSource.Protection getProtection()
setProtection(org.apache.ws.jaxme.js.JavaSource.Protection)
public void setProtection(JavaSource.Protection p)
p
- null, "public", "protected" or "private"getProtection()
public JavaComment getComment()
newComment()
public JavaComment newComment()
getComment()
public boolean isAbstract()
public void setAbstract(boolean isAbstract)
protected void setJavaSource(JavaSource pSource)
public JavaSource getJavaSource()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |