org.xmlhammer.gui.output
Class SourceBuilder

java.lang.Object
  extended by org.xmlhammer.gui.output.SourceBuilder

public class SourceBuilder
extends java.lang.Object


Field Summary
static java.lang.String COMMENT_END
           
static java.lang.String COMMENT_START
           
static java.lang.String CONSTANT_END
           
static java.lang.String CONSTANT_START
           
static java.lang.String RESERVED_END
           
static java.lang.String RESERVED_START
           
 
Constructor Summary
SourceBuilder()
           
 
Method Summary
 void addCode(java.lang.String code)
           
static void appendCatch(java.lang.StringBuilder builder, java.lang.String indent, java.lang.String exception)
           
 void appendComment(java.lang.String comment)
           
static void appendComment(java.lang.StringBuilder builder, java.lang.String comment)
           
 void appendConstant(boolean constant)
           
 void appendConstant(java.lang.String constant)
           
static void appendConstant(java.lang.StringBuilder builder, boolean constant)
           
static void appendConstant(java.lang.StringBuilder builder, java.lang.String constant)
           
 void appendDisclaimer()
           
static void appendImport(java.lang.StringBuilder builder, java.lang.String statement)
           
 void appendReserved(java.lang.String reserved)
           
static void appendReserved(java.lang.StringBuilder builder, java.lang.String reserved)
           
 void reset()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMMENT_START

public static java.lang.String COMMENT_START

COMMENT_END

public static java.lang.String COMMENT_END

RESERVED_START

public static java.lang.String RESERVED_START

RESERVED_END

public static java.lang.String RESERVED_END

CONSTANT_START

public static java.lang.String CONSTANT_START

CONSTANT_END

public static java.lang.String CONSTANT_END
Constructor Detail

SourceBuilder

public SourceBuilder()
Method Detail

appendImport

public static void appendImport(java.lang.StringBuilder builder,
                                java.lang.String statement)

appendCatch

public static void appendCatch(java.lang.StringBuilder builder,
                               java.lang.String indent,
                               java.lang.String exception)

appendComment

public static void appendComment(java.lang.StringBuilder builder,
                                 java.lang.String comment)

appendComment

public void appendComment(java.lang.String comment)

appendReserved

public static void appendReserved(java.lang.StringBuilder builder,
                                  java.lang.String reserved)

appendReserved

public void appendReserved(java.lang.String reserved)

appendConstant

public static void appendConstant(java.lang.StringBuilder builder,
                                  java.lang.String constant)

appendConstant

public void appendConstant(java.lang.String constant)

appendConstant

public static void appendConstant(java.lang.StringBuilder builder,
                                  boolean constant)

appendConstant

public void appendConstant(boolean constant)

addCode

public void addCode(java.lang.String code)

appendDisclaimer

public void appendDisclaimer()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

reset

public void reset()


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.