|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that an IndentationEngine's target must fulfill.
Method Summary | |
java.lang.String |
asString(JavaQName pQName)
Converts a class name into a string. |
void |
indent(int i)
Indents the current line by adding blanks for the given indentation level. |
boolean |
isInterface()
Returns whether the IndentationEngine is creating a Java interface. |
void |
write()
Terminates a line in the target. |
void |
write(java.lang.String pValue)
Writes a string to the target. |
Method Detail |
public boolean isInterface()
Returns whether the IndentationEngine is creating a Java interface. Creating an interface means, for example, that method bodies are being suppressed.
public void indent(int i) throws java.io.IOException
Indents the current line by adding blanks for the given
indentation level. This method must be called before any
of the write(String)
or write()
methods or following the line terminating write()
method.
java.io.IOException
public java.lang.String asString(JavaQName pQName)
Converts a class name into a string. The string may then be
written to the target using write()
.
public void write(java.lang.String pValue) throws java.io.IOException
Writes a string to the target.
java.io.IOException
public void write() throws java.io.IOException
Terminates a line in the target.
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |