Java Doc for PrintData.java in  » UML » jrefactory » org » acm » seguin » pretty » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » UML » jrefactory » org.acm.seguin.pretty 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.acm.seguin.pretty.PrintData

All known Subclasses:   org.acm.seguin.pretty.line.LineNumberingData,
PrintData
public class PrintData (Code)
This object stores all the data necessary to print the the Java file
author:
   Mike Atkinson
author:
   Mike Atkinson
version:
   $Id: PrintData.java,v 1.32 2003/11/12 13:44:37 mikeatkinson Exp $


Field Summary
final public static  intALPHABETICAL_ORDER
    
final public static  intBLOCK_STYLE_C
    
final public static  intBLOCK_STYLE_EMACS
    
final public static  intBLOCK_STYLE_PASCAL
    
final public static  intCATEGORY_COMMENT
    
public static  intCLASS
    
final public static  intCSC_ALIGN_BLANK
    
final public static  intCSC_ALIGN_STAR
    
final public static  intCSC_LEAVE_UNTOUCHED
    
final public static  intCSC_MAINTAIN_STAR
    
final public static  intC_STYLE_COMMENT
    
final public static  intDFS_ALIGN_EQUALS
    
final public static  intDFS_ALWAYS
    
final public static  intDFS_NEVER
    
final public static  intDFS_NOT_WITH_JAVADOC
    
public static  intDOUBLE_INDENT
    
public static  intEMPTY
    
public static  intENUM
    
public static  intFIELD
    
public static  intINTERFACE
    
final public static  intJAVADOC_COMMENT
    
public static  intMETHOD
    
public static  intNO_INDENT
    
public static  intPARAM_INDENT
    
public static  intSINGLE_INDENT
    
final public static  intSINGLE_LINE_COMMENT
    
final public static  intSTANDARD_ORDER
    
public  intfinalLine
    

Constructor Summary
public  PrintData()
    
public  PrintData(Writer out)
    

Method Summary
public  voidappendComment(String string, int type)
    
public  voidappendConstant(String string)
    
public  voidappendKeyword(String string)
    
public  voidappendText(String string)
    
public  voidbackspace()
    
public  voidbeginBlock()
    
public  voidbeginBlock(boolean space)
    
public  voidbeginBlock(boolean space, boolean newlineAfter)
    
public  voidbeginClass()
    
public  voidbeginEnum()
    
public  voidbeginExpression(boolean notEmpty)
    
public  voidbeginField()
    
public  voidbeginInterface()
    
public  voidbeginMethod()
    
public  voidclassBrace()
     Indicates that a class's open brace is about to be formatted.
public  voidclose()
    
public  booleanconsumeNewline()
    
public  voiddecrCaseIndent()
    
public  voiddecrIndent()
    
public  voidendBlock(boolean newline, boolean newlineBefore)
    
public  voidendBlock()
    
public  voidendClass()
    
public  voidendEnum()
    
public  voidendExpression(boolean notEmpty)
    
public  voidendField()
    
public  voidendInterface()
    
public  voidendMethod()
    
public  voidenterMethodDecl()
     Sets the state for being inside a method declaration.
public  voidexitMethodDecl()
     Indicates that we've exited a method declaration.
public  voidflush()
    
public  StringBuffergetBuffer()
    
public  intgetCStyleFormatCode()
    
public  intgetCStyleIndent()
    
public  booleangetCStyleOwnline()
    
public  StringgetCurrentClassName()
    
public  intgetDynamicFieldSpaces()
    
public  intgetExtendsIndentation()
    
public  intgetFieldNameIndent()
    
public  intgetFieldSpaceCode()
    
public  intgetFinalLine()
    
public  intgetImplementsIndentation()
    
public  String[]getImportSortImportant()
    
public  intgetImportSortNeighbourhood()
    
public  intgetIndent()
    
public  StringgetIndentString()
    
public  intgetJavadocIndent()
     Returns the number of spaces between the JavaDoc asterisks and the comment text.
public  intgetJavadocStarCount()
    
public  intgetJavadocWordWrapMaximum()
    
public  intgetJavadocWordWrapMinimum()
    
public  intgetLineLength()
    
public  intgetLinesAfterPackage()
    
public  intgetLinesBeforeClass()
    
public  intgetMethodBlockStyle()
    
public  intgetModifierOrder()
    
public  MultipleOrderinggetOrder()
    
public  intgetOriginalLine()
    
public  SettingsgetSettings()
    
 booleangetSkipNameSpacing()
    
public  intgetState()
    
public  intgetSurpriseReturn()
    
public  intgetTaggedJavadocDescription()
    
 intgetTempEqualsLength()
    
public  ComparatorgetTopOrder(ASTCompilationUnit node)
    
public  voidincrCaseIndent()
    
public  voidincrIndent()
    
protected  voidincrIndent(int incr)
    
public  voidindent()
    
public  booleanisAllJavadocKept()
    
public  booleanisAllowSingleLineJavadoc()
    
public  booleanisArrayInitializerIndented()
    
public  booleanisBangSpace()
    
public  booleanisBufferEmpty()
    
public  booleanisCastSpace()
    
public  booleanisCatchOnNewLine()
    
public  booleanisCurrentSingle()
    
public  booleanisDynamicFieldSpacing(boolean javadocPrinted)
    
public  booleanisElseOnNewLine()
    
public  booleanisEmptyBlockOnSingleLine()
    
public  booleanisFieldNameIndented()
    
public  booleanisFirstLineOnCommentStart()
    
public  booleanisForcingBlock()
    
public  booleanisIndentInInitailzer()
    
public  booleanisInsertSpaceLocalVariables()
    
public  booleanisJavadocDescriptionLinedup()
    
public  booleanisJavadocLinedUp()
     Returns true if JavaDoc IDs (param, returns, etc.) should be lined up.
public  booleanisKeepErroneousJavadocTags()
    
public  booleanisLineBeforeClassBody()
    
public  booleanisLineBeforeExtends()
    
public  booleanisLineBeforeImplements()
    
public  booleanisLineBeforeMultistatementMethodBody()
    
public  booleanisLineIndented()
    
public  booleanisMaintainNewlinesAroundImports()
    
public  booleanisNestedClassDocumented()
    
public  booleanisReformatComments()
    
public  booleanisRemoveExcessBlocks()
    
public  booleanisSortTop()
    
public  booleanisSpaceAfterCast()
    
public  booleanisSpaceAfterKeyword()
     Determines whether there should be a space between a keyword such as 'if' or 'while' and the opening brace that follows it.
public  booleanisSpaceAfterMethod()
     Determines whether there should be a space between a method call and the opening brace that follows it.
public  booleanisSpaceAroundOperators()
    
public  booleanisSpaceBeforeAt()
     Determines if there should be a space between the '*' and the '@' in a javadoc comment.
public  booleanisSpaceInsideCast()
    
public  booleanisStarsAlignedWithSlash()
    
 booleanisStoreJavadocPrinted()
    
public  booleanisThrowsOnNewline()
    
public  booleanisVariablesAlignWithBlock()
    
protected  LineQueuelineQueueFactory(PrintWriter output)
    
public  voidmethodBrace()
     Indicates that a method's open brace is about to be formatted.
public  voidnewline()
    
public  voidpopCurrentClassName()
    
public  voidpopFieldSize()
    
public  voidpushCurrentClassName(String name)
    
public  voidpushFieldSize(FieldSize size)
    
public  voidreset()
    
public  voidsaveCurrentLine()
    
public  voidsetAbsoluteCommentSpacing(int value)
    
public  voidsetAlignStarsWithSlash(boolean value)
    
 voidsetAllJavadocKept(boolean value)
    
public  voidsetArrayInitializerIndented(boolean way)
    
public  voidsetBangSpace(boolean value)
    
public  voidsetCStyleFormatCode(int value)
    
public  voidsetCStyleIndent(int value)
    
public  voidsetCStyleOwnline(boolean ownline)
    
public  voidsetCaseIndent(int value)
    
public  voidsetCastSpace(boolean value)
    
public  voidsetClassBlockStyle(int value)
    
public  voidsetCodeBlockStyle(int value)
    
public  voidsetCurrentIsSingle(boolean value)
    
public  voidsetDocumentNestedClasses(boolean value)
    
public  voidsetDynamicFieldSpaces(int value)
    
public  voidsetDynamicFieldSpacing(int value)
    
public  voidsetElseOnNewLine(boolean value)
    
public  voidsetEmptyBlockOnSingleLine(boolean value)
    
public  voidsetExpressionSpace(boolean value)
    
public  voidsetExtendsIndentation(int value)
    
public  voidsetFinalLine(int value)
    
public  voidsetForceBlock(boolean value)
    
public  voidsetImplementsIndentation(int value)
    
public  voidsetImportSortImportant(String[] newImportSortImportant)
    
public  voidsetImportSortNeighbourhood(int newImportSortNeighbourhood)
    
public  voidsetIncrementalCommentSpacing(int value)
    
public  voidsetIndentInInitializer(boolean value)
    
public  voidsetInsertSpaceLocalVariables(boolean value)
    
public  voidsetJavadocIndent(int indent)
     Sets the number of spaces between the JavaDoc asterisks and the comment text.
public  voidsetJavadocWordWrapMaximum(int wrap)
    
public  voidsetJavadocWordWrapMinimum(int wrap)
    
public  voidsetKeepErroneousJavadocTags(boolean value)
    
public  voidsetLineBeforeClassBody(boolean value)
    
public  voidsetLineBeforeExtends(boolean value)
    
public  voidsetLineBeforeImplements(boolean value)
    
public  voidsetLineBeforeMultistatementMethodBody(boolean value)
    
public  voidsetLineUpParams(boolean value)
    
public  voidsetLinesAfterPackage(int value)
    
public  voidsetLinesBeforeClass(int value)
    
public  voidsetLineupJavadocDescr(boolean way)
    
public  voidsetLineupJavadocIDs(boolean way)
    
public  voidsetMaintainNewlinesAroundImports(boolean value)
    
public  voidsetMethodBlockStyle(int value)
    
public  voidsetModifierOrder(int value)
    
public  voidsetMultipleOrdering(MultipleOrdering value)
    
public  voidsetOriginalLine(int value)
    
public  voidsetOutput(PrintWriter newOutput)
    
public  voidsetOwnline(boolean value)
    
public  voidsetOwnlineCode(boolean value)
    
public  voidsetParamIndent()
     Records the position of the method's opening parenthesis for use in indenting parameters on subsequent lines.
public  voidsetReformatComments(boolean value)
    
public  voidsetRemoveExcessBlocks(boolean value)
    
public  voidsetSharedIncr(boolean value)
    
public  voidsetSingleLineJavadoc(boolean value)
    
 voidsetSkipNameSpacing(boolean value)
    
public  voidsetSortExtendsStatement(boolean value)
    
public  voidsetSortImplementsStatement(boolean value)
    
public  voidsetSortThrowsStatement(boolean value)
    
public  voidsetSortTop(boolean value)
    
public  voidsetSpaceAfterKeyword(boolean way)
    
public  voidsetSpaceAfterMethod(boolean way)
    
public  voidsetSpaceAroundOperators(boolean way)
    
public  voidsetSpaceInsideCast(boolean way)
    
public  voidsetState(int newState)
    
 voidsetStoreJavadocPrinted(boolean value)
    
public  voidsetTaggedJavadocDescription(int value)
    
 voidsetTempEqualsLength(int value)
    
public  voidsetVariablesAlignWithBlock(boolean value)
    
public  voidsortExtends(ASTNameList node)
    
public  voidsortImplements(ASTNameList node)
    
public  voidsortThrows(ASTNameList node)
    
public  voidspace()
    
public  voidsurpriseIndent()
    
public  FieldSizetopFieldSize()
    

Field Detail
ALPHABETICAL_ORDER
final public static int ALPHABETICAL_ORDER(Code)



BLOCK_STYLE_C
final public static int BLOCK_STYLE_C(Code)
Use the C style blocks



BLOCK_STYLE_EMACS
final public static int BLOCK_STYLE_EMACS(Code)
Use the EMACS style of blocks (like pascal but 2 spaces)



BLOCK_STYLE_PASCAL
final public static int BLOCK_STYLE_PASCAL(Code)
Use the PASCAL style blocks



CATEGORY_COMMENT
final public static int CATEGORY_COMMENT(Code)
A category comment



CLASS
public static int CLASS(Code)
Description of the Field



CSC_ALIGN_BLANK
final public static int CSC_ALIGN_BLANK(Code)
Aligns the C style comments with a * to the right



CSC_ALIGN_STAR
final public static int CSC_ALIGN_STAR(Code)
Aligns the C style comments with a * to the right



CSC_LEAVE_UNTOUCHED
final public static int CSC_LEAVE_UNTOUCHED(Code)
Leaves C Style comments untouched



CSC_MAINTAIN_STAR
final public static int CSC_MAINTAIN_STAR(Code)
Maintains spacing in the C style comments, but insists upon a star at the right



C_STYLE_COMMENT
final public static int C_STYLE_COMMENT(Code)
A c style comment



DFS_ALIGN_EQUALS
final public static int DFS_ALIGN_EQUALS(Code)
Only align on the equals



DFS_ALWAYS
final public static int DFS_ALWAYS(Code)
ALWAYS use dynamic field spacing



DFS_NEVER
final public static int DFS_NEVER(Code)
Never use dynamic field spacing



DFS_NOT_WITH_JAVADOC
final public static int DFS_NOT_WITH_JAVADOC(Code)
Use dynamic field spacing except with javadoc



DOUBLE_INDENT
public static int DOUBLE_INDENT(Code)
The indent type for an unexpected end of line - double indent



EMPTY
public static int EMPTY(Code)
Description of the Field



ENUM
public static int ENUM(Code)
This is used to mark enumerations (which are really classes behind the scenes)
since:
   JRefactory 2.7.00



FIELD
public static int FIELD(Code)
Description of the Field



INTERFACE
public static int INTERFACE(Code)
Description of the Field



JAVADOC_COMMENT
final public static int JAVADOC_COMMENT(Code)
A comment with javadoc



METHOD
public static int METHOD(Code)
Description of the Field



NO_INDENT
public static int NO_INDENT(Code)
There should be no indent



PARAM_INDENT
public static int PARAM_INDENT(Code)
The indent type for an unexpected end of line - line up parameters indent



SINGLE_INDENT
public static int SINGLE_INDENT(Code)
The indent type for an unexpected end of line - single indent



SINGLE_LINE_COMMENT
final public static int SINGLE_LINE_COMMENT(Code)
A single line comment



STANDARD_ORDER
final public static int STANDARD_ORDER(Code)



finalLine
public int finalLine(Code)
Description of the Field




Constructor Detail
PrintData
public PrintData()(Code)
Create a print data object



PrintData
public PrintData(Writer out)(Code)
Create a print data object
Parameters:
  out - the output stream




Method Detail
appendComment
public void appendComment(String string, int type)(Code)
Append a comment to the output
Parameters:
  string - the input string
Parameters:
  type - Description of Parameter



appendConstant
public void appendConstant(String string)(Code)
Append constant to the output
Parameters:
  string - the input string



appendKeyword
public void appendKeyword(String string)(Code)
Append a keyword to the output
Parameters:
  string - the input string



appendText
public void appendText(String string)(Code)
Append text to the output
Parameters:
  string - the input string



backspace
public void backspace()(Code)
Backspace



beginBlock
public void beginBlock()(Code)
Start a block



beginBlock
public void beginBlock(boolean space)(Code)
Start a block
Parameters:
  space - Description of the Parameter



beginBlock
public void beginBlock(boolean space, boolean newlineAfter)(Code)
Start a block
Parameters:
  space - Description of Parameter
Parameters:
  newlineAfter - Description of the Parameter



beginClass
public void beginClass()(Code)
Start a Class



beginEnum
public void beginEnum()(Code)
Start a Enum
since:
   JRefactory 2.7.00



beginExpression
public void beginExpression(boolean notEmpty)(Code)
Start an expression
Parameters:
  notEmpty - Description of Parameter



beginField
public void beginField()(Code)
Start a Field



beginInterface
public void beginInterface()(Code)
Start a Interface



beginMethod
public void beginMethod()(Code)
Start a Method



classBrace
public void classBrace()(Code)
Indicates that a class's open brace is about to be formatted.



close
public void close()(Code)
Closes the output stream



consumeNewline
public boolean consumeNewline()(Code)
Consume a newline true when we were expecting this newline



decrCaseIndent
public void decrCaseIndent()(Code)
Description of the Method



decrIndent
public void decrIndent()(Code)
Decrement the indent by the default amount



endBlock
public void endBlock(boolean newline, boolean newlineBefore)(Code)
End a block
Parameters:
  newline - Description of Parameter
Parameters:
  newlineBefore - Description of the Parameter



endBlock
public void endBlock()(Code)
End a block



endClass
public void endClass()(Code)
End a Class



endEnum
public void endEnum()(Code)
End a Enum
since:
   JRefactory 2.7.00



endExpression
public void endExpression(boolean notEmpty)(Code)
End an expression
Parameters:
  notEmpty - Description of Parameter



endField
public void endField()(Code)
End a Field



endInterface
public void endInterface()(Code)
End a Interface



endMethod
public void endMethod()(Code)
End a Method



enterMethodDecl
public void enterMethodDecl()(Code)
Sets the state for being inside a method declaration. Used for lining up parameters with the method's open parenthesis.



exitMethodDecl
public void exitMethodDecl()(Code)
Indicates that we've exited a method declaration.



flush
public void flush()(Code)
Flushes the buffer



getBuffer
public StringBuffer getBuffer()(Code)



getCStyleFormatCode
public int getCStyleFormatCode()(Code)
Gets the CStyleFormatCode attribute of the PrintData object The CStyleFormatCode value



getCStyleIndent
public int getCStyleIndent()(Code)
Gets the CStyleIndent attribute of the PrintData object The CStyleIndent value



getCStyleOwnline
public boolean getCStyleOwnline()(Code)
Gets the CStyleOnline attribute of the PrintData object The CStyleOnline value



getCurrentClassName
public String getCurrentClassName()(Code)
Gets the CurrentClassName attribute of the PrintData object The CurrentClassName value



getDynamicFieldSpaces
public int getDynamicFieldSpaces()(Code)
Gets the DynamicFieldSpacing attribute of the PrintData object The DynamicFieldSpacing value



getExtendsIndentation
public int getExtendsIndentation()(Code)



getFieldNameIndent
public int getFieldNameIndent()(Code)
Gets the FieldNameIndent attribute of the PrintData object The FieldNameIndent value



getFieldSpaceCode
public int getFieldSpaceCode()(Code)
Return the code for field and local variable spacing the code



getFinalLine
public int getFinalLine()(Code)
Gets the FinalLine attribute of the PrintData object The FinalLine value



getImplementsIndentation
public int getImplementsIndentation()(Code)



getImportSortImportant
public String[] getImportSortImportant()(Code)
Gets the importSortImportant attribute of the PrintData object The importSortImportant value



getImportSortNeighbourhood
public int getImportSortNeighbourhood()(Code)
Gets the importSortNeighbourhood attribute of the PrintData object The importSortNeighbourhood value



getIndent
public int getIndent()(Code)
Get the indent the indent
since:
   JRefactory 2.7.00



getIndentString
public String getIndentString()(Code)
Return the indent string an appropriate length string



getJavadocIndent
public int getJavadocIndent()(Code)
Returns the number of spaces between the JavaDoc asterisks and the comment text. the number of spaces between the JavaDoc asterisks and thecomment



getJavadocStarCount
public int getJavadocStarCount()(Code)
Gets the JavadocStarCount attribute of the PrintData object The JavadocStarCount value



getJavadocWordWrapMaximum
public int getJavadocWordWrapMaximum()(Code)
Gets the JavadocWordWrapMaximum attribute of the PrintData object The JavadocWordWrapMaximum value



getJavadocWordWrapMinimum
public int getJavadocWordWrapMinimum()(Code)
Gets the JavadocWordWrapMinimum attribute of the PrintData object The JavadocWordWrapMinimum value



getLineLength
public int getLineLength()(Code)
Get the length of the line the length of the buffer



getLinesAfterPackage
public int getLinesAfterPackage()(Code)
Gets the linesAfterPackage attribute of the PrintData object The linesAfterPackage value



getLinesBeforeClass
public int getLinesBeforeClass()(Code)
Gets the linesBeforeClass attribute of the PrintData object The linesBeforeClass value



getMethodBlockStyle
public int getMethodBlockStyle()(Code)
Returns the method block style



getModifierOrder
public int getModifierOrder()(Code)



getOrder
public MultipleOrdering getOrder()(Code)
Gets the Order attribute of the PrintData object The Order value



getOriginalLine
public int getOriginalLine()(Code)
Gets the OriginalLine attribute of the PrintData object The OriginalLine value



getSettings
public Settings getSettings()(Code)
Gets the Settings attribute of the PrintData object The Settings value



getSkipNameSpacing
boolean getSkipNameSpacing()(Code)
Gets the SkipNameSpacing attribute of the PrintData object The SkipNameSpacing value



getState
public int getState()(Code)
Return the state of the pretty printer an integer representing the state



getSurpriseReturn
public int getSurpriseReturn()(Code)
Gets the SurpriseReturn attribute of the PrintData object The SurpriseReturn value



getTaggedJavadocDescription
public int getTaggedJavadocDescription()(Code)



getTempEqualsLength
int getTempEqualsLength()(Code)
Gets the TempEqualsLength attribute of the PrintData object The TempEqualsLength value



getTopOrder
public Comparator getTopOrder(ASTCompilationUnit node)(Code)
Gets the TopOrder attribute of the PrintData object
Parameters:
  node - Description of the Parameter The TopOrder value



incrCaseIndent
public void incrCaseIndent()(Code)
Description of the Method



incrIndent
public void incrIndent()(Code)
Increment the indent by the default amount



incrIndent
protected void incrIndent(int incr)(Code)
Increment the indent
Parameters:
  incr - the amount to increment the indent



indent
public void indent()(Code)
Indent the output



isAllJavadocKept
public boolean isAllJavadocKept()(Code)
Gets the AllJavadocKept attribute of the PrintData object The AllJavadocKept value



isAllowSingleLineJavadoc
public boolean isAllowSingleLineJavadoc()(Code)
Gets the allowSingleLineJavadoc attribute of the PrintData object The allowSingleLineJavadoc value



isArrayInitializerIndented
public boolean isArrayInitializerIndented()(Code)



isBangSpace
public boolean isBangSpace()(Code)
Gets the bangSpace attribute of the PrintData object The bangSpace value



isBufferEmpty
public boolean isBufferEmpty()(Code)
Is the output buffer empty? true if the output buffer is empty



isCastSpace
public boolean isCastSpace()(Code)
Gets the CastSpace attribute of the PrintData object The CastSpace value



isCatchOnNewLine
public boolean isCatchOnNewLine()(Code)
Returns true if the catch statement is on a new line true if catch should start a line



isCurrentSingle
public boolean isCurrentSingle()(Code)
Gets the currentSingle attribute of the PrintData object The currentSingle value



isDynamicFieldSpacing
public boolean isDynamicFieldSpacing(boolean javadocPrinted)(Code)
Gets the DynamicFieldSpacing attribute of the PrintData object
Parameters:
  javadocPrinted - Description of Parameter The DynamicFieldSpacing value



isElseOnNewLine
public boolean isElseOnNewLine()(Code)
Returns true if the else statement is on a new line true if else should start a line



isEmptyBlockOnSingleLine
public boolean isEmptyBlockOnSingleLine()(Code)
Gets the EmptyBlockOnSingleLine attribute of the PrintData object The EmptyBlockOnSingleLine value



isFieldNameIndented
public boolean isFieldNameIndented()(Code)
Gets the FieldNameIndented attribute of the PrintData object The FieldNameIndented value



isFirstLineOnCommentStart
public boolean isFirstLineOnCommentStart()(Code)
Gets the firstLineOnCommentStart attribute of the PrintData object The firstLineOnCommentStart value
since:
   2.9.2



isForcingBlock
public boolean isForcingBlock()(Code)
Gets the ForcingBlock attribute of the PrintData object The ForcingBlock value



isIndentInInitailzer
public boolean isIndentInInitailzer()(Code)
Gets the indentInInitailzer attribute of the PrintData object The indentInInitailzer value



isInsertSpaceLocalVariables
public boolean isInsertSpaceLocalVariables()(Code)
Gets the insertSpaceLocalVariables attribute of the PrintData object The insertSpaceLocalVariables value



isJavadocDescriptionLinedup
public boolean isJavadocDescriptionLinedup()(Code)



isJavadocLinedUp
public boolean isJavadocLinedUp()(Code)
Returns true if JavaDoc IDs (param, returns, etc.) should be lined up. True if lining up comments, false otherwise



isKeepErroneousJavadocTags
public boolean isKeepErroneousJavadocTags()(Code)
Gets the keepErroneousJavadocTags attribute of the PrintData object The keepErroneousJavadocTags value



isLineBeforeClassBody
public boolean isLineBeforeClassBody()(Code)



isLineBeforeExtends
public boolean isLineBeforeExtends()(Code)



isLineBeforeImplements
public boolean isLineBeforeImplements()(Code)



isLineBeforeMultistatementMethodBody
public boolean isLineBeforeMultistatementMethodBody()(Code)



isLineIndented
public boolean isLineIndented()(Code)
Is the output buffer empty? true if the output buffer is empty



isMaintainNewlinesAroundImports
public boolean isMaintainNewlinesAroundImports()(Code)
Gets the maintainNewlinesAroundImports attribute of the PrintData object The maintainNewlinesAroundImports value



isNestedClassDocumented
public boolean isNestedClassDocumented()(Code)
Gets the NestedClassDocumented attribute of the PrintData object The NestedClassDocumented value



isReformatComments
public boolean isReformatComments()(Code)
Gets the ReformatComments attribute of the PrintData object The ReformatComments value



isRemoveExcessBlocks
public boolean isRemoveExcessBlocks()(Code)
Gets the removeExcessBlocks attribute of the PrintData object The removeExcessBlocks value



isSortTop
public boolean isSortTop()(Code)



isSpaceAfterCast
public boolean isSpaceAfterCast()(Code)
Gets the SpaceAfterCast attribute of the PrintData object The SpaceAfterCast value



isSpaceAfterKeyword
public boolean isSpaceAfterKeyword()(Code)
Determines whether there should be a space between a keyword such as 'if' or 'while' and the opening brace that follows it. The SpaceAfterKeyword value



isSpaceAfterMethod
public boolean isSpaceAfterMethod()(Code)
Determines whether there should be a space between a method call and the opening brace that follows it. The SpaceAfterMethod value



isSpaceAroundOperators
public boolean isSpaceAroundOperators()(Code)
Gets the spaceAroundOperators attribute of the PrintData object The spaceAroundOperators value



isSpaceBeforeAt
public boolean isSpaceBeforeAt()(Code)
Determines if there should be a space between the '*' and the '@' in a javadoc comment. true if there should be a space



isSpaceInsideCast
public boolean isSpaceInsideCast()(Code)
Determines if there is a space inside the cast parens The SpaceAfterKeyword value



isStarsAlignedWithSlash
public boolean isStarsAlignedWithSlash()(Code)



isStoreJavadocPrinted
boolean isStoreJavadocPrinted()(Code)
Gets the StoreJavadocPrinted attribute of the PrintData object The StoreJavadocPrinted value



isThrowsOnNewline
public boolean isThrowsOnNewline()(Code)
Gets the ThrowsOnNewline attribute of the PrintData object The ThrowsOnNewline value



isVariablesAlignWithBlock
public boolean isVariablesAlignWithBlock()(Code)
Gets the variablesAlignWithBlock attribute of the PrintData object The variablesAlignWithBlock value



lineQueueFactory
protected LineQueue lineQueueFactory(PrintWriter output)(Code)
Creates a line queue object
Parameters:
  output - the output stream the queue



methodBrace
public void methodBrace()(Code)
Indicates that a method's open brace is about to be formatted.



newline
public void newline()(Code)
Add a newline



popCurrentClassName
public void popCurrentClassName()(Code)
Description of the Method



popFieldSize
public void popFieldSize()(Code)
Description of the Method



pushCurrentClassName
public void pushCurrentClassName(String name)(Code)
Description of the Method
Parameters:
  name - Description of Parameter



pushFieldSize
public void pushFieldSize(FieldSize size)(Code)
Description of the Method
Parameters:
  size - Description of Parameter



reset
public void reset()(Code)
Description of the Method



saveCurrentLine
public void saveCurrentLine()(Code)
Description of the Method



setAbsoluteCommentSpacing
public void setAbsoluteCommentSpacing(int value)(Code)
Sets the AbsoluteCommentSpacing attribute of the PrintData object
Parameters:
  value - The new AbsoluteCommentSpacing value



setAlignStarsWithSlash
public void setAlignStarsWithSlash(boolean value)(Code)



setAllJavadocKept
void setAllJavadocKept(boolean value)(Code)
Sets the AllJavadocKept attribute of the PrintData object
Parameters:
  value - The new AllJavadocKept value



setArrayInitializerIndented
public void setArrayInitializerIndented(boolean way)(Code)



setBangSpace
public void setBangSpace(boolean value)(Code)
Sets the bangSpace attribute of the PrintData object
Parameters:
  value - The new bangSpace value



setCStyleFormatCode
public void setCStyleFormatCode(int value)(Code)
Sets the CStyleFormatCode attribute of the PrintData object
Parameters:
  value - The new CStyleFormatCode value



setCStyleIndent
public void setCStyleIndent(int value)(Code)
Sets the CStyleIndent attribute of the PrintData object
Parameters:
  value - The new CStyleIndent value



setCStyleOwnline
public void setCStyleOwnline(boolean ownline)(Code)
Sets the CStyleOnline attribute of the PrintData object
Parameters:
  ownline - The new CStyleOnline value



setCaseIndent
public void setCaseIndent(int value)(Code)
Sets the caseIndent attribute of the PrintData object
Parameters:
  value - The new caseIndent value



setCastSpace
public void setCastSpace(boolean value)(Code)
Sets the CastSpace attribute of the PrintData object
Parameters:
  value - The new CastSpace value



setClassBlockStyle
public void setClassBlockStyle(int value)(Code)
Sets the ClassCStyleBlock attribute of the PrintData object
Parameters:
  value - The new ClassCStyleBlock value



setCodeBlockStyle
public void setCodeBlockStyle(int value)(Code)
Sets the codeBlockStyle attribute of the PrintData object
Parameters:
  value - The new codeBlockStyle value



setCurrentIsSingle
public void setCurrentIsSingle(boolean value)(Code)
Sets the currentIsSingle attribute of the PrintData object
Parameters:
  value - The new currentIsSingle value



setDocumentNestedClasses
public void setDocumentNestedClasses(boolean value)(Code)
Sets the DocumentNestedClasses attribute of the PrintData object
Parameters:
  value - The new DocumentNestedClasses value



setDynamicFieldSpaces
public void setDynamicFieldSpaces(int value)(Code)
Sets the DynamicFieldSpacing attribute of the PrintData object
Parameters:
  value - The new DynamicFieldSpacing value



setDynamicFieldSpacing
public void setDynamicFieldSpacing(int value)(Code)
Sets the DynamicFieldSpacing attribute of the PrintData object
Parameters:
  value - The new DynamicFieldSpacing value



setElseOnNewLine
public void setElseOnNewLine(boolean value)(Code)
Sets the elseOnNewLine attribute of the PrintData object
Parameters:
  value - The new elseOnNewLine value



setEmptyBlockOnSingleLine
public void setEmptyBlockOnSingleLine(boolean value)(Code)
Sets the EmptyBlockOnSingleLine attribute of the PrintData object
Parameters:
  value - The new EmptyBlockOnSingleLine value



setExpressionSpace
public void setExpressionSpace(boolean value)(Code)
Sets the ExpressionSpace attribute of the PrintData object
Parameters:
  value - The new ExpressionSpace value



setExtendsIndentation
public void setExtendsIndentation(int value)(Code)



setFinalLine
public void setFinalLine(int value)(Code)
Sets the FinalLine attribute of the PrintData object
Parameters:
  value - The new FinalLine value



setForceBlock
public void setForceBlock(boolean value)(Code)
Sets the ForceBlock attribute of the PrintData object
Parameters:
  value - The new ForceBlock value



setImplementsIndentation
public void setImplementsIndentation(int value)(Code)



setImportSortImportant
public void setImportSortImportant(String[] newImportSortImportant)(Code)
Sets the importSortImportant attribute of the PrintData object
Parameters:
  newImportSortImportant - The new importSortImportant value



setImportSortNeighbourhood
public void setImportSortNeighbourhood(int newImportSortNeighbourhood)(Code)
Sets the importSortNeighbourhood attribute of the PrintData object
Parameters:
  newImportSortNeighbourhood - The new importSortNeighbourhood value



setIncrementalCommentSpacing
public void setIncrementalCommentSpacing(int value)(Code)
Sets the IncrementalCommentSpacing attribute of the PrintData object
Parameters:
  value - The new IncrementalCommentSpacing value



setIndentInInitializer
public void setIndentInInitializer(boolean value)(Code)
Sets the indentInInitializer attribute of the PrintData object
Parameters:
  value - The new indentInInitializer value



setInsertSpaceLocalVariables
public void setInsertSpaceLocalVariables(boolean value)(Code)
Sets the insertSpaceLocalVariables attribute of the PrintData object
Parameters:
  value - The new insertSpaceLocalVariables value



setJavadocIndent
public void setJavadocIndent(int indent)(Code)
Sets the number of spaces between the JavaDoc asterisks and the comment text.
Parameters:
  indent - the number of spaces between the JavaDoc asterisks and thecomment
since:
   JRefactory 2.7.02



setJavadocWordWrapMaximum
public void setJavadocWordWrapMaximum(int wrap)(Code)
Sets the JavadocWordWrapMaximum attribute of the PrintData object
Parameters:
  wrap - The JavadocWordWrapMaximum value
since:
   JRefactory 2.7.00



setJavadocWordWrapMinimum
public void setJavadocWordWrapMinimum(int wrap)(Code)
Sets the JavadocWordWrapMinimum attribute of the PrintData object
Parameters:
  wrap - The JavadocWordWrapMinimum value
since:
   JRefactory 2.7.00



setKeepErroneousJavadocTags
public void setKeepErroneousJavadocTags(boolean value)(Code)
Sets the keepErroneousJavadocTags attribute of the PrintData object
Parameters:
  value - The new keepErroneousJavadocTags value



setLineBeforeClassBody
public void setLineBeforeClassBody(boolean value)(Code)



setLineBeforeExtends
public void setLineBeforeExtends(boolean value)(Code)



setLineBeforeImplements
public void setLineBeforeImplements(boolean value)(Code)



setLineBeforeMultistatementMethodBody
public void setLineBeforeMultistatementMethodBody(boolean value)(Code)



setLineUpParams
public void setLineUpParams(boolean value)(Code)



setLinesAfterPackage
public void setLinesAfterPackage(int value)(Code)
Sets the linesAfterPackage attribute of the PrintData object
Parameters:
  value - The new linesAfterPackage value



setLinesBeforeClass
public void setLinesBeforeClass(int value)(Code)
Sets the linesBeforeClass attribute of the PrintData object
Parameters:
  value - The new linesBeforeClass value



setLineupJavadocDescr
public void setLineupJavadocDescr(boolean way)(Code)



setLineupJavadocIDs
public void setLineupJavadocIDs(boolean way)(Code)



setMaintainNewlinesAroundImports
public void setMaintainNewlinesAroundImports(boolean value)(Code)
Sets the maintainNewlinesAroundImports attribute of the PrintData object
Parameters:
  value - The new maintainNewlinesAroundImports value



setMethodBlockStyle
public void setMethodBlockStyle(int value)(Code)
Sets the methodBlockStyle attribute of the PrintData object
Parameters:
  value - The new methodBlockStyle value



setModifierOrder
public void setModifierOrder(int value)(Code)



setMultipleOrdering
public void setMultipleOrdering(MultipleOrdering value)(Code)
Sets the MultipleOrdering attribute of the PrintData object
Parameters:
  value - The new MultipleOrdering value



setOriginalLine
public void setOriginalLine(int value)(Code)
Sets the OriginalLine attribute of the PrintData object
Parameters:
  value - The new OriginalLine value



setOutput
public void setOutput(PrintWriter newOutput)(Code)
Set the output writer
Parameters:
  newOutput - the new output writer



setOwnline
public void setOwnline(boolean value)(Code)
Sets the Ownline attribute of the LineQueue object
Parameters:
  value - The new Ownline value



setOwnlineCode
public void setOwnlineCode(boolean value)(Code)
Sets the OwnlineCode attribute of the PrintData object
Parameters:
  value - The new OwnlineCode value



setParamIndent
public void setParamIndent()(Code)
Records the position of the method's opening parenthesis for use in indenting parameters on subsequent lines.



setReformatComments
public void setReformatComments(boolean value)(Code)
Sets the ReformatComments attribute of the PrintData object
Parameters:
  value - The new ReformatComments value



setRemoveExcessBlocks
public void setRemoveExcessBlocks(boolean value)(Code)
Sets the removeExcessBlocks attribute of the PrintData object
Parameters:
  value - The new removeExcessBlocks value



setSharedIncr
public void setSharedIncr(boolean value)(Code)
Sets the SharedIncr attribute of the PrintData object
Parameters:
  value - The new SharedIncr value



setSingleLineJavadoc
public void setSingleLineJavadoc(boolean value)(Code)
Sets the singleLineJavadoc attribute of the PrintData object
Parameters:
  value - The new singleLineJavadoc value



setSkipNameSpacing
void setSkipNameSpacing(boolean value)(Code)
Sets the SkipNameSpacing attribute of the PrintData object
Parameters:
  value - The new SkipNameSpacing value



setSortExtendsStatement
public void setSortExtendsStatement(boolean value)(Code)



setSortImplementsStatement
public void setSortImplementsStatement(boolean value)(Code)



setSortThrowsStatement
public void setSortThrowsStatement(boolean value)(Code)



setSortTop
public void setSortTop(boolean value)(Code)
Sets the sortTop attribute of the PrintData object
Parameters:
  value - The new sortTop value



setSpaceAfterKeyword
public void setSpaceAfterKeyword(boolean way)(Code)
Sets the spaceAfterKeyword attribute of the PrintData object
Parameters:
  way - The new spaceAfterKeyword value
since:
   JRefactory 2.7.00



setSpaceAfterMethod
public void setSpaceAfterMethod(boolean way)(Code)
Sets the spaceAfterMethod attribute of the PrintData object
Parameters:
  way - The new spaceAfterMethod value



setSpaceAroundOperators
public void setSpaceAroundOperators(boolean way)(Code)
Sets the spaceAroundOperators attribute of the PrintData object
Parameters:
  way - The new spaceAroundOperators value



setSpaceInsideCast
public void setSpaceInsideCast(boolean way)(Code)
Sets the spaceInsideCast attribute of the PrintData object
Parameters:
  way - The new spaceInsideCast value



setState
public void setState(int newState)(Code)
Set the state
Parameters:
  newState - Description of Parameter



setStoreJavadocPrinted
void setStoreJavadocPrinted(boolean value)(Code)
Sets the StoreJavadocPrinted attribute of the PrintData object
Parameters:
  value - The new StoreJavadocPrinted value



setTaggedJavadocDescription
public void setTaggedJavadocDescription(int value)(Code)



setTempEqualsLength
void setTempEqualsLength(int value)(Code)
Sets the TempEqualsLength attribute of the PrintData object
Parameters:
  value - The new TempEqualsLength value



setVariablesAlignWithBlock
public void setVariablesAlignWithBlock(boolean value)(Code)
Sets the variablesAlignWithBlock attribute of the PrintData object
Parameters:
  value - The new variablesAlignWithBlock value



sortExtends
public void sortExtends(ASTNameList node)(Code)



sortImplements
public void sortImplements(ASTNameList node)(Code)



sortThrows
public void sortThrows(ASTNameList node)(Code)



space
public void space()(Code)
Add a space



surpriseIndent
public void surpriseIndent()(Code)
Inserts a surprise indent
Parameters:
  printData - the print data



topFieldSize
public FieldSize topFieldSize()(Code)
Description of the Method Description of the Returned Value



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.