Java Doc for AptControlInterface.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » controls » runtime » generator » 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 » Library » Apache beehive 1.0.2 src » org.apache.beehive.controls.runtime.generator 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.beehive.controls.runtime.generator.AptType
      org.apache.beehive.controls.runtime.generator.AptControlInterface

AptControlInterface
public class AptControlInterface extends AptType implements Generator(Code)
The AptControlInterface provides validation and metadata management for a ControlInterface or ControlExtension class during APT processing. It is also used to model the interface to contextual services, since they parallel the conventions of control interfaces.


Field Summary
final static  StringalphaNum
    
final static  StringheaderChar
    

Constructor Summary
public  AptControlInterface(Declaration decl, TwoPhaseAnnotationProcessor ap)
    

Method Summary
public  booleanaddsBoundPropertySupport()
     Returns true if this interface is the first interface in the inheritance hierarchy to declare support for bound properties.
public  booleanaddsConstrainedPropertySupport()
     Returns true if this interface is the first interface in the inheritance hierarchy to declare support for constrained properties.
public  voidcheck()
    
public  List<GeneratorOutput>getCheckOutput(Filer filer)
    
public  AptEventSetgetEventSet(String name)
    
public  intgetEventSetCount()
    
public  Collection<AptEventSet>getEventSets()
    
public  ClassLoadergetExternalClassLoader()
    
public  FeatureInfogetFeatureInfo()
    
public  List<GeneratorOutput>getGenerateOutput(Filer filer)
     Returns the information necessary to generate a packaging information from this AptControlInterface.
public  String[]getGeneratedTypes()
    
public  Collection<AptControlInterfaceProperty>getInterfaceProperties()
     Returns the list of properties defined by getter and setter methods in this control interface.
public  intgetLocalEventSetCount()
     Returns the number of event sets declared in this control interface.
public  HashMap<String, String>getManifestAttributes()
    
public  AptControlInterfacegetMostDerivedInterface()
     Returns the most-derived interface in the inheritance chain that is annotated with @ControlInterface.
public  intgetOperationCount()
    
public  Collection<AptOperation>getOperations()
    
public  intgetPropertyCount()
    
public  Collection<AptPropertySet>getPropertySets()
    
public  AptControlInterfacegetSuperClass()
    
public  InterfaceTypegetSuperType()
    
public  VersiongetVersion()
     Returns the Version annotation, if any.
public  VersionRequiredgetVersionRequired()
     Returns the VersionRequired annotation, if any.
public  booleanhasBoundProperties()
     Returns true if the interface has any bound properties associated with it.
public  booleanhasConstrainedProperties()
     Returns true if any properties declared directly by this control interface are constrained properties.
public  booleanisExtension()
     Returns true if this interface is a ControlExtension (jcx) interface, false otherwise.

Field Detail
alphaNum
final static String alphaNum(Code)



headerChar
final static String headerChar(Code)




Constructor Detail
AptControlInterface
public AptControlInterface(Declaration decl, TwoPhaseAnnotationProcessor ap)(Code)
Constructs a new AptControlInterface instance where interface information is derived from an APT interface declaration
Parameters:
  decl - the annotated Declaration
Parameters:
  ap - the top-level annotation processor




Method Detail
addsBoundPropertySupport
public boolean addsBoundPropertySupport()(Code)
Returns true if this interface is the first interface in the inheritance hierarchy to declare support for bound properties. This is used to declared PropertyChangeListener registration methods for the bean once (and only once).



addsConstrainedPropertySupport
public boolean addsConstrainedPropertySupport()(Code)
Returns true if this interface is the first interface in the inheritance hierarchy to declare support for constrained properties. This is used to declared VetoableChangeListener registration methods for the bean once (and only once).



check
public void check()(Code)
Runs control-specific checker class (if specified)



getCheckOutput
public List<GeneratorOutput> getCheckOutput(Filer filer) throws IOException(Code)
Returns the information necessary to generate a ControlBean from this AptControlInterface



getEventSet
public AptEventSet getEventSet(String name)(Code)
Returns the AptEventSet with the specified name



getEventSetCount
public int getEventSetCount()(Code)
Returns the total number of operations for this control interface



getEventSets
public Collection<AptEventSet> getEventSets()(Code)
Returns the list of AptEventSet declared directly by this AptControlInterface



getExternalClassLoader
public ClassLoader getExternalClassLoader()(Code)
Returns a classloader that can be used to load external classes



getFeatureInfo
public FeatureInfo getFeatureInfo()(Code)
Returns the FeatureInfo attributes for this control interface



getGenerateOutput
public List<GeneratorOutput> getGenerateOutput(Filer filer) throws IOException(Code)
Returns the information necessary to generate a packaging information from this AptControlInterface. Since this information is not needed during type validation, it can be delated until the generate phase.



getGeneratedTypes
public String[] getGeneratedTypes()(Code)
Returns the list of fully qualified class names for types that are derived from this Generator



getInterfaceProperties
public Collection<AptControlInterfaceProperty> getInterfaceProperties()(Code)
Returns the list of properties defined by getter and setter methods in this control interface.



getLocalEventSetCount
public int getLocalEventSetCount()(Code)
Returns the number of event sets declared in this control interface. Does not include eventset's declared in super class(es).



getManifestAttributes
public HashMap<String, String> getManifestAttributes()(Code)
Returns the array of ManifestAttributes associated with the AptControlInterface



getMostDerivedInterface
public AptControlInterface getMostDerivedInterface()(Code)
Returns the most-derived interface in the inheritance chain that is annotated with @ControlInterface. It represents the point in the inheritance chain where @ControlInterface becomes @ControlExtension (i.e., anything interface derived from the 'most-derived interface' is annotated with @ControlExtension). May return null if the inheritance chain is malformed.



getOperationCount
public int getOperationCount()(Code)
Returns the total number of operations for this control interface



getOperations
public Collection<AptOperation> getOperations()(Code)
Returns the list of ControlOperations declared directly by this AptControlInterface



getPropertyCount
public int getPropertyCount()(Code)
Returns the total number of properties for this control interface



getPropertySets
public Collection<AptPropertySet> getPropertySets()(Code)
Returns the list of PropertySets declared directly by this AptControlInterface



getSuperClass
public AptControlInterface getSuperClass()(Code)
Returns the super interface for this interface



getSuperType
public InterfaceType getSuperType()(Code)
Returns the parent control interface or extension type from which the control interface is derived (or null, if it is at the root of the interface hierarchy)



getVersion
public Version getVersion()(Code)
Returns the Version annotation, if any.



getVersionRequired
public VersionRequired getVersionRequired()(Code)
Returns the VersionRequired annotation, if any.



hasBoundProperties
public boolean hasBoundProperties()(Code)
Returns true if the interface has any bound properties associated with it.



hasConstrainedProperties
public boolean hasConstrainedProperties()(Code)
Returns true if any properties declared directly by this control interface are constrained properties. This will not reflect the attributes of properties declared on an interface from which this interface derives.



isExtension
public boolean isExtension()(Code)
Returns true if this interface is a ControlExtension (jcx) interface, false otherwise.



Fields inherited from org.apache.beehive.controls.runtime.generator.AptType
TypeDeclaration _typeDecl(Code)(Java Doc)

Methods inherited from org.apache.beehive.controls.runtime.generator.AptType
public String getClassName()(Code)(Java Doc)
public String getFormalClassName()(Code)(Java Doc)
public String getFormalShortName()(Code)(Java Doc)
public String getFormalTypeParameterNames()(Code)(Java Doc)
public String getFormalTypeParameters()(Code)(Java Doc)
public String getPackage()(Code)(Java Doc)
public String getShortName()(Code)(Java Doc)
public TypeDeclaration getTypeDeclaration()(Code)(Java Doc)
protected boolean isPrivateMethod(MethodDeclaration md)(Code)(Java Doc)
protected void setDeclaration(TypeDeclaration typeDecl)(Code)(Java Doc)

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.