|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.force.sdk.codegen.writer.BasicWriterProvider
public class BasicWriterProvider
A pass-through code generation WriterProvider.
This WriterProvider simply returns the Writer
instant found in its state.
| Constructor Summary | |
|---|---|
BasicWriterProvider(Writer writer)
Initalizes a BasicWriterProvider which will return the given Writer
on any call to getWriter(GetUserInfoResult, DescribeSObjectResult). |
|
| Method Summary | |
|---|---|
Writer |
getWriter(com.sforce.soap.partner.GetUserInfoResult userInfo,
com.sforce.soap.partner.DescribeSObjectResult dsr)
Returns a Java Writer for generated source code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicWriterProvider(Writer writer)
BasicWriterProvider which will return the given Writer
on any call to getWriter(GetUserInfoResult, DescribeSObjectResult).
writer - the Writer to return on a call to
getWriter(GetUserInfoResult, DescribeSObjectResult)| Method Detail |
|---|
public Writer getWriter(com.sforce.soap.partner.GetUserInfoResult userInfo,
com.sforce.soap.partner.DescribeSObjectResult dsr)
WriterProviderWriter for generated source code.
The Writer that is returned represents the destination
for the source code that is generated from the given GetUserInfoResult
object and DescribeSObjectResult object.
getWriter in interface WriterProvideruserInfo - the Force.com user who is running the code generationdsr - the Force.com schema object for which code will be generated
null Java Writer to which generated code will be written
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||