Java Doc for StandardEnvironment.java in  » Code-Analyzer » Spoon » spoon » support » 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 » Code Analyzer » Spoon » spoon.support 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   spoon.support.StandardEnvironment

StandardEnvironment
public class StandardEnvironment implements Serializable,Environment(Code)
This class implements a simple Spoon environment that reports messages in the standard output stream (Java-compliant).


Field Summary
final public static  StringPROPERTIES_EXT
    
 intcomplianceLevel
    
 ProcessingManagermanager
    
 Map<String, ProcessorProperties>processorProperties
    
 inttabulationSize
    
 booleanuseSourceCodeFragments
    
 booleanuseTabulations
    

Constructor Summary
public  StandardEnvironment()
     Creates a new environment with a null default file generator.
public  StandardEnvironment(FileGenerator<? extends CtElement> defaultFileGenerator)
     Creates a new environment.

Method Summary
public  voiddebugMessage(String message)
    
public  intgetComplianceLevel()
    
public  FileGenerator<? extends CtElement>getDefaultFileGenerator()
    
public  FactorygetFactory()
    
public  ProcessingManagergetManager()
    
public  ProcessorPropertiesgetProcessorProperties(String processorName)
    
public  StringgetSourcePath()
    
public  intgetTabulationSize()
    
public  FilegetXmlRootFolder()
     Gets the root folder where the processors' XML configuration files are located.
public  booleanisDebug()
    
public  booleanisProcessingStopped()
     Tells if the processing is stopped, generally because one of the processors called StandardEnvironment.setProcessingStopped(boolean) after reporting an error.
public  booleanisUsingSourceCodeFragments()
    
public  booleanisUsingTabulations()
    
public  booleanisVerbose()
     Returns true if Spoon is in verbose mode.
public  voidreport(Processor processor, Severity severity, CtElement element, String message)
    
public  voidreport(Processor processor, Severity severity, String message)
    
public  voidreport(Processor processor, Severity severity, CtElement element, String message, ProblemFixer... fix)
    
public  voidreportEnd()
     This method should be called to report the end of the processing.
public  voidreportProgressMessage(String message)
    
public  voidsetComplianceLevel(int level)
    
public  voidsetDebug(boolean debug)
    
public  voidsetDefaultFileGenerator(FileGenerator<? extends CtElement> defaultFileGenerator)
    
public  voidsetFactory(Factory factory)
    
public  voidsetManager(ProcessingManager manager)
    
public  voidsetProcessingStopped(boolean processingStopped)
    
public  voidsetProcessorProperties(String processorName, ProcessorProperties prop)
    
public  voidsetTabulationSize(int tabulationSize)
    
public  voidsetVerbose(boolean verbose)
    
public  voidsetXmlRootFolder(File xmlRootFolder)
     Sets the root folder where the processors' XML configuration files are located.
public  voiduseSourceCodeFragments(boolean b)
    
public  voiduseTabulations(boolean tabulation)
    

Field Detail
PROPERTIES_EXT
final public static String PROPERTIES_EXT(Code)
The processors' properties files extension (.xml)



complianceLevel
int complianceLevel(Code)



manager
ProcessingManager manager(Code)



processorProperties
Map<String, ProcessorProperties> processorProperties(Code)



tabulationSize
int tabulationSize(Code)



useSourceCodeFragments
boolean useSourceCodeFragments(Code)



useTabulations
boolean useTabulations(Code)




Constructor Detail
StandardEnvironment
public StandardEnvironment()(Code)
Creates a new environment with a null default file generator.



StandardEnvironment
public StandardEnvironment(FileGenerator<? extends CtElement> defaultFileGenerator)(Code)
Creates a new environment.




Method Detail
debugMessage
public void debugMessage(String message)(Code)



getComplianceLevel
public int getComplianceLevel()(Code)



getDefaultFileGenerator
public FileGenerator<? extends CtElement> getDefaultFileGenerator()(Code)



getFactory
public Factory getFactory()(Code)



getManager
public ProcessingManager getManager()(Code)



getProcessorProperties
public ProcessorProperties getProcessorProperties(String processorName) throws FileNotFoundException, IOException, SAXException(Code)



getSourcePath
public String getSourcePath()(Code)



getTabulationSize
public int getTabulationSize()(Code)



getXmlRootFolder
public File getXmlRootFolder()(Code)
Gets the root folder where the processors' XML configuration files are located.



isDebug
public boolean isDebug()(Code)



isProcessingStopped
public boolean isProcessingStopped()(Code)
Tells if the processing is stopped, generally because one of the processors called StandardEnvironment.setProcessingStopped(boolean) after reporting an error.



isUsingSourceCodeFragments
public boolean isUsingSourceCodeFragments()(Code)



isUsingTabulations
public boolean isUsingTabulations()(Code)



isVerbose
public boolean isVerbose()(Code)
Returns true if Spoon is in verbose mode.



report
public void report(Processor processor, Severity severity, CtElement element, String message)(Code)



report
public void report(Processor processor, Severity severity, String message)(Code)



report
public void report(Processor processor, Severity severity, CtElement element, String message, ProblemFixer... fix)(Code)



reportEnd
public void reportEnd()(Code)
This method should be called to report the end of the processing.



reportProgressMessage
public void reportProgressMessage(String message)(Code)



setComplianceLevel
public void setComplianceLevel(int level)(Code)



setDebug
public void setDebug(boolean debug)(Code)



setDefaultFileGenerator
public void setDefaultFileGenerator(FileGenerator<? extends CtElement> defaultFileGenerator)(Code)



setFactory
public void setFactory(Factory factory)(Code)



setManager
public void setManager(ProcessingManager manager)(Code)



setProcessingStopped
public void setProcessingStopped(boolean processingStopped)(Code)



setProcessorProperties
public void setProcessorProperties(String processorName, ProcessorProperties prop)(Code)



setTabulationSize
public void setTabulationSize(int tabulationSize)(Code)



setVerbose
public void setVerbose(boolean verbose)(Code)



setXmlRootFolder
public void setXmlRootFolder(File xmlRootFolder)(Code)
Sets the root folder where the processors' XML configuration files are located.



useSourceCodeFragments
public void useSourceCodeFragments(boolean b)(Code)



useTabulations
public void useTabulations(boolean tabulation)(Code)



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.