ua.gradsoft.termware.printers
Class PrettyPrintingToken

java.lang.Object
  extended by ua.gradsoft.termware.printers.PrettyPrintingToken

public class PrettyPrintingToken
extends Object

Author:
rssh

Nested Class Summary
static class PrettyPrintingToken.Kind
           
 
Method Summary
static PrettyPrintingToken createBegin(PrettyPrintingBreakType breakType, int size, int offset)
           
static PrettyPrintingToken createBreak(PrettyPrintingBreakType breakType, int size, int offset)
           
static PrettyPrintingToken createEnd(PrettyPrintingBreakType breakType, int size, int offset)
           
static PrettyPrintingToken createEof()
           
static PrettyPrintingToken createString(String value)
           
 PrettyPrintingBreakType getBreakType()
           
 PrettyPrintingToken.Kind getKind()
           
 int getLength()
           
 int getOffset()
           
 String getString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createString

public static PrettyPrintingToken createString(String value)

createBegin

public static PrettyPrintingToken createBegin(PrettyPrintingBreakType breakType,
                                              int size,
                                              int offset)

createEnd

public static PrettyPrintingToken createEnd(PrettyPrintingBreakType breakType,
                                            int size,
                                            int offset)

createBreak

public static PrettyPrintingToken createBreak(PrettyPrintingBreakType breakType,
                                              int size,
                                              int offset)

createEof

public static PrettyPrintingToken createEof()

getKind

public PrettyPrintingToken.Kind getKind()

getBreakType

public PrettyPrintingBreakType getBreakType()

getLength

public int getLength()

getOffset

public int getOffset()

getString

public String getString()

toString

public String toString()
Overrides:
toString in class Object