Java Doc for MethodSetElement.java in  » Code-Analyzer » JBlanket » csdl » jblanket » report » element » 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 » JBlanket » csdl.jblanket.report.element 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   csdl.jblanket.report.element.MethodSetElement

MethodSetElement
public class MethodSetElement implements Comparable(Code)
Provides a wrapper for the 'MethodSet' element in the aggregate XML file. An instance of a MethodSetElement represents elements in a MethodSet.

An example of a 'MethodSet' as a MethodSetElement with no methods:

 <MethodSet class="String" package="java.lang" tested="0" untested="0" oneline="0" 
 constructor="0" excludedindividual="0" timestamp=""/>
 

An example of a 'MethodSet' as a MethodSetElement with methods:

 <MethodSet class="String" package="java.lang" tested="1" untested="0" oneline="0" 
 constructor="0" timestamp="">
 <tested>
 <Method name="indexOf" package="java.lang.String">
 <Parameter type="java.lang.String"/>
 <Parameter type="int"/>
 </Method>
 </tested>
 <untested/>
 <oneline/>
 <constructor/>
 <ecludedindividual/>
 </MethodSet>
 

Note that the excluded individual methods take priority over all the other categories of methods. I.e., if a one-line method was individually excluded by the application, then it is considered to be an individually excluded methods instead of a one-line method.
author:
   Joy M. Agustin
version:
   $Id: MethodSetElement.java,v 1.2 2004/11/07 08:53:26 timshadel Exp $




Constructor Summary
public  MethodSetElement(String packageName, String className)
     Constructs a new MethodSetElement object.

Method Summary
public  voidaddConstructorMethod(MethodElement method)
     Adds a method to the set of constructors.
public  voidaddExcludedIndividualMethod(MethodElement method)
     Adds a method to the set of constructors.
public  voidaddOneLineMethod(MethodElement method)
     Adds a method to the set of one-line methods.
public  voidaddTestMethod(MethodElement method)
     Adds a method to the set of tested methods.
public  voidaddUntestMethod(MethodElement method)
     Adds a method to the set of untested methods.
public  voidaddUntestableMethod(MethodElement method)
     Adds a method to the set of untested methods.
public  intcompareTo(Object obj)
     Compares this MethodSetElement object to obj.
Parameters:
  obj - the MethodSetElement object to compare to.
public  StringgetClassName()
     Returns the name of the class of this MethodSetElement object.
public  intgetConstructorSize()
     Returns the number of constructors.
public  intgetExcludedIndividualSize()
     Returns the number of individually excluded methods.
public  intgetOnelineSize()
     Returns the number of one-line methods.
public  StringgetPackageName()
     Returns the name of the package of this MethodSetElement object.
public  intgetTestedSize()
     Returns the number of tested methods.
public  intgetUntestableSize()
     Returns the number of untested methods.
public  intgetUntestedSize()
     Returns the number of untested methods.
public  voidsetTimeStamp(String timeStamp)
     Adds the timeStamp from the file this MethodSetElement came from.
public  StringtoString()
     Returns a String representation of this MethodSetElement as found in an aggregate XML file.
public  voidwrite(PrintWriter writer)
     Writes this MethodSetElement to writer.


Constructor Detail
MethodSetElement
public MethodSetElement(String packageName, String className)(Code)
Constructs a new MethodSetElement object.
Parameters:
  className - the name of the class.
Parameters:
  packageName - the name of the package className belongs to.




Method Detail
addConstructorMethod
public void addConstructorMethod(MethodElement method)(Code)
Adds a method to the set of constructors.
Parameters:
  method - the MethodElement representation of a constructor.



addExcludedIndividualMethod
public void addExcludedIndividualMethod(MethodElement method)(Code)
Adds a method to the set of constructors.
Parameters:
  method - the MethodElement representation of a constructor.



addOneLineMethod
public void addOneLineMethod(MethodElement method)(Code)
Adds a method to the set of one-line methods.
Parameters:
  method - the MethodElement representation of a one-line method.



addTestMethod
public void addTestMethod(MethodElement method)(Code)
Adds a method to the set of tested methods.
Parameters:
  method - the MethodElement representation of a tested method.



addUntestMethod
public void addUntestMethod(MethodElement method)(Code)
Adds a method to the set of untested methods.
Parameters:
  method - the MethodElement representation of an untested method.



addUntestableMethod
public void addUntestableMethod(MethodElement method)(Code)
Adds a method to the set of untested methods.
Parameters:
  method - the MethodElement representation of an untested method.



compareTo
public int compareTo(Object obj)(Code)
Compares this MethodSetElement object to obj.
Parameters:
  obj - the MethodSetElement object to compare to. negative integer if this MethodSetElement object comes before obj, zero if this MethodSetElement object is equal to obj, or positive integer if obj comes before this MethodSetElement object.



getClassName
public String getClassName()(Code)
Returns the name of the class of this MethodSetElement object. the name of the class of this MethodSetElement object.



getConstructorSize
public int getConstructorSize()(Code)
Returns the number of constructors. the number of constructors.



getExcludedIndividualSize
public int getExcludedIndividualSize()(Code)
Returns the number of individually excluded methods. the number of individually excluded methods.



getOnelineSize
public int getOnelineSize()(Code)
Returns the number of one-line methods. the number of one-line methods.



getPackageName
public String getPackageName()(Code)
Returns the name of the package of this MethodSetElement object. the name of the package of this MethodSetElement object.



getTestedSize
public int getTestedSize()(Code)
Returns the number of tested methods. the number of tested methods.



getUntestableSize
public int getUntestableSize()(Code)
Returns the number of untested methods. the number of untested methods.



getUntestedSize
public int getUntestedSize()(Code)
Returns the number of untested methods. the number of untested methods.



setTimeStamp
public void setTimeStamp(String timeStamp)(Code)
Adds the timeStamp from the file this MethodSetElement came from.
Parameters:
  timeStamp - the timeStamp from the file this MethodSetElement came from.



toString
public String toString()(Code)
Returns a String representation of this MethodSetElement as found in an aggregate XML file. a String representation of this MethodSetElement.



write
public void write(PrintWriter writer)(Code)
Writes this MethodSetElement to writer.
Parameters:
  writer - points to an output file.



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.