Java Doc for IClass.java in  » XML » jibx-1.1.5 » org » jibx » binding » model » 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 » XML » jibx 1.1.5 » org.jibx.binding.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jibx.binding.model.IClass

All known Subclasses:   org.jibx.binding.model.ClassWrapper,
IClass
public interface IClass (Code)
Interface for class file information. Provides access to class field and method information.
author:
   Dennis M. Sosnoski
version:
   1.0




Method Summary
public  IClassItemgetBestMethod(String name, String type, String[] args)
     Get information for best matching method.
public  ClassFilegetClassFile()
     Get class file information.
public  IClassItemgetDirectField(String name)
     Get information for field.
public  IClassItemgetField(String name)
     Get information for field.
public  IClassItem[]getFields()
     Get all fields of class.
public  IClassItemgetInitializerMethod(String sig)
     Get information for initializer.
public  String[]getInstanceSigs()
     Get signatures for all types of which instances of this type are instances.
public  String[]getInterfaces()
     Get names of all interfaces implemented by class.
public  StringgetJavaDoc()
     Get the JavaDoc comment for this class.
public  IClassLocatorgetLocator()
     Get the locator which provided this class.
public  IClassItemgetMethod(String name, String sig)
     Get information for method without respect to potential trailing arguments or return value.
public  IClassItemgetMethod(String name, String[] sigs)
     Get information for method matching one of several possible signatures. If a match is not found directly, superclasses are checked for inherited methods matching the supplied name and signatures.
public  IClassItem[]getMethods()
     Get all methods of class.
public  StringgetName()
     Get fully qualified class name.
public  StringgetPackage()
     Get package name.
public  StringgetSignature()
     Get signature for class as type.
public  IClassItemgetStaticMethod(String name, String sig)
     Get information for static method without respect to return value.
public  IClassgetSuperClass()
     Get superclass.
public  booleanisAbstract()
     Check if class is abstract.
public  booleanisAccessible(IClassItem item)
     Check accessible method.
public  booleanisAssignable(IClass other)
     Check if a value of this type can be directly assigned to another type.
public  booleanisImplements(String sig)
     Check if class implements an interface.
public  booleanisInterface()
     Check if class is an interface.
public  booleanisModifiable()
     Check if class is modifiable.
public  booleanisSuperclass(String name)
     Check if another class is a superclass of this one.
public  ClassloadClass()
     Load class in executable form.



Method Detail
getBestMethod
public IClassItem getBestMethod(String name, String type, String[] args)(Code)
Get information for best matching method. This tries to find a method which matches the specified name, return type, and argument types. If an exact match is not found it looks for a method with a return type that is extended or implemented by the specified type and arguments that are extended or implemented by the specified types. If no match is found for this class superclasses are checked. TODO: make this work with both static and member methods
Parameters:
  name - method name
Parameters:
  type - return value type name (null if indeterminant)
Parameters:
  args - argument value type names method information, or null if method not found



getClassFile
public ClassFile getClassFile()(Code)
Get class file information. TODO: eliminate this sucker class file information



getDirectField
public IClassItem getDirectField(String name)(Code)
Get information for field. This only checks for fields that are actually members of the class (not superclasses). TODO: make this work with both static and member fields
Parameters:
  name - field name field information, or null if field not found



getField
public IClassItem getField(String name)(Code)
Get information for field. If the field is not found directly, superclasses are checked for inherited fields matching the supplied name. TODO: make this work with both static and member fields
Parameters:
  name - field name field information, or null if field not found



getFields
public IClassItem[] getFields()(Code)
Get all fields of class. fields



getInitializerMethod
public IClassItem getInitializerMethod(String sig)(Code)
Get information for initializer. Only the class itself is checked for an initializer matching the argument list signature.
Parameters:
  sig - encoded argument list signature method information, or null if method not found



getInstanceSigs
public String[] getInstanceSigs()(Code)
Get signatures for all types of which instances of this type are instances. all signatures suppored by instances



getInterfaces
public String[] getInterfaces()(Code)
Get names of all interfaces implemented by class. names of all interfaces implemented directly by class



getJavaDoc
public String getJavaDoc()(Code)
Get the JavaDoc comment for this class. comment text, or null if none or no source available



getLocator
public IClassLocator getLocator()(Code)
Get the locator which provided this class. locator



getMethod
public IClassItem getMethod(String name, String sig)(Code)
Get information for method without respect to potential trailing arguments or return value. If the method is not found directly, superclasses are checked for inherited methods matching the supplied name. This compares the supplied partial signature against the actual method signature, and considers it a match if the actual sigature starts with the supplied signature. TODO: make this work with both static and member methods
Parameters:
  name - method name
Parameters:
  sig - partial method signature to be matched method information, or null if method not found



getMethod
public IClassItem getMethod(String name, String[] sigs)(Code)
Get information for method matching one of several possible signatures. If a match is not found directly, superclasses are checked for inherited methods matching the supplied name and signatures. The signature variations are checked in the order supplied. TODO: make this work with both static and member methods
Parameters:
  name - method name
Parameters:
  sigs - possible signatures for method (including return type) method information, or null if method not found



getMethods
public IClassItem[] getMethods()(Code)
Get all methods of class. methods



getName
public String getName()(Code)
Get fully qualified class name. fully qualified name for class



getPackage
public String getPackage()(Code)
Get package name. package name for class



getSignature
public String getSignature()(Code)
Get signature for class as type. signature for class used as type



getStaticMethod
public IClassItem getStaticMethod(String name, String sig)(Code)
Get information for static method without respect to return value. Only the class itself is checked for a method matching the supplied name and argument list signature.
Parameters:
  name - method name
Parameters:
  sig - encoded argument list signature method information, or null if method not found



getSuperClass
public IClass getSuperClass()(Code)
Get superclass. superclass information



isAbstract
public boolean isAbstract()(Code)
Check if class is abstract. true if class is abstract, false if not



isAccessible
public boolean isAccessible(IClassItem item)(Code)
Check accessible method. Check if a field or method in another class is accessible from within this class.
Parameters:
  item - field or method information true if accessible, false if not



isAssignable
public boolean isAssignable(IClass other)(Code)
Check if a value of this type can be directly assigned to another type. This is basically the equivalent of the instanceof operator.
Parameters:
  other - type to be assigned to true if assignable, false if not



isImplements
public boolean isImplements(String sig)(Code)
Check if class implements an interface.
Parameters:
  signature - of interface to be checked true if interface is implemented by class,false if not



isInterface
public boolean isInterface()(Code)
Check if class is an interface. true if class is an interface, false ifnot



isModifiable
public boolean isModifiable()(Code)
Check if class is modifiable. true if class is modifiable, false ifnot



isSuperclass
public boolean isSuperclass(String name)(Code)
Check if another class is a superclass of this one.
Parameters:
  name - potential superclass to be checked true if named class is a superclass of this one,false if not



loadClass
public Class loadClass()(Code)
Load class in executable form. loaded class, or null if unable to load



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