|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
java.io.BufferedWriter
com.lightdev.app.trec.client.stub.StubWriter
public abstract class StubWriter
Abstract base class for classes wishing to generate Java source code for client and server stubs.
| Field Summary |
|---|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
StubWriter(Writer out)
create a new instance of a StubWriter object |
|
StubWriter(Writer out,
int sz)
create a new instance of a StubWriter object |
|
| Method Summary | |
|---|---|
protected boolean |
isXmlRpcType(org.apache.bcel.generic.Type type)
determine whether or not a given type is an XML-RPC type XML-RPC types are |
protected String |
typeToString(org.apache.bcel.generic.Type type)
convert a type to a string, when the given type is not a valid XML-RPC type the type string byte[] is returned |
protected void |
writeLine(String line)
write out a line and terminate with a new line |
| Methods inherited from class java.io.BufferedWriter |
|---|
close, flush, newLine, write, write, write |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StubWriter(Writer out)
out - the writer to write to
public StubWriter(Writer out,
int sz)
out - the writer to write tosz - the buffer size| Method Detail |
|---|
protected void writeLine(String line)
throws IOException
line - the line to write
IOExceptionprotected String typeToString(org.apache.bcel.generic.Type type)
type - the type to convert
protected boolean isXmlRpcType(org.apache.bcel.generic.Type type)
XML-RPC types are
or java.lang.Integer
java.lang.Boolean
java.lang.String
java.lang.Double
java.util.Date
byte[ ]
type - the type to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||