|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.js.IncreasingTarget
A filtering indentation target, which pipes all output to the actual target, except that it increases the indentation level by 1.
| Constructor Summary | |
IncreasingTarget(IndentationTarget pActualTarget)
|
|
| 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 |
setInterface(java.lang.Boolean pInterface)
|
void |
write()
Terminates a line in the target. |
void |
write(java.lang.String pValue)
Writes a string to the target. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IncreasingTarget(IndentationTarget pActualTarget)
| Method Detail |
public boolean isInterface()
IndentationTargetReturns whether the IndentationEngine is creating a Java interface. Creating an interface means, for example, that method bodies are being suppressed.
isInterface in interface IndentationTargetpublic void setInterface(java.lang.Boolean pInterface)
public void indent(int i)
throws java.io.IOException
IndentationTargetIndents 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.
indent in interface IndentationTargetjava.io.IOExceptionpublic java.lang.String asString(JavaQName pQName)
IndentationTargetConverts a class name into a string. The string may then be
written to the target using write().
asString in interface IndentationTarget
public void write(java.lang.String pValue)
throws java.io.IOException
IndentationTargetWrites a string to the target.
write in interface IndentationTargetjava.io.IOException
public void write()
throws java.io.IOException
IndentationTargetTerminates a line in the target.
write in interface IndentationTargetjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||