com.force.sdk.codegen.builder
Class JavaCommentBuilder

java.lang.Object
  extended by com.force.sdk.codegen.builder.BaseBuilder<String>
      extended by com.force.sdk.codegen.builder.JavaCommentBuilder

public class JavaCommentBuilder
extends BaseBuilder<String>

Builds Java comments that can be included in generated source code.

Built comments will be in the form:

// <comment String>

Author:
Tim Kral

Field Summary
 
Fields inherited from class com.force.sdk.codegen.builder.BaseBuilder
builderString
 
Constructor Summary
JavaCommentBuilder(int numIndents)
          Initializes a JavaCommentBuilder with the number of intentions that should proceed each Java comment.
 
Method Summary
protected  void append(String comment)
           
 
Methods inherited from class com.force.sdk.codegen.builder.BaseBuilder
add, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaCommentBuilder

public JavaCommentBuilder(int numIndents)
Initializes a JavaCommentBuilder with the number of intentions that should proceed each Java comment.

Parameters:
numIndents - the number of indentations that should proceed each Java comment
Method Detail

append

protected void append(String comment)


Copyright © 2011. All Rights Reserved.