Java Doc for AbstractEnhancerTask.java in  » Database-ORM » Speedo_1.4.5 » org » objectweb » speedo » ant » 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 » Database ORM » Speedo_1.4.5 » org.objectweb.speedo.ant 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.speedo.ant.AbstractEnhancerTask

All known Subclasses:   org.objectweb.speedo.ant.ejb.EJBEnhancerTask,  org.objectweb.speedo.ant.jdo.JDOEnhancerTask,
AbstractEnhancerTask
abstract public class AbstractEnhancerTask extends Task (Code)
Ant task that can be used to execute the generation.

Parameters of the task:

  • localpropertiesfile, indicates whether there is a persistdesc.properties
  • confFile, location of the corresponding properties files
  • logPropFile, location of the log system properties file
  • projectname is the project name (optional) (Jorm parameter)
  • mappername is the mapper name for which the code will be generated
  • keepsrc, indicates whether generated Java files must be kept (optionnal, the default value is true
  • input, location of the base directory of .class files
  • output, location of the base destination directory
  • classpath nested classpath element containing the speedo and jorm jars
  • jdopath nested element containing a parameter dir and include elements , location of .jdo JDO XML Descriptors
  • jormpath (similar to jdopath), location of .pd JORM XML Descriptors
  • persistenceaware (similar to jdopath), location of Persistence Aware Java Class
  • keepclasses, indicates whether original java classes must be stored in another directory (see below)
  • storedir, location for storing original classes
  • failsonerror, indicates whether the process should fail if an error occurs

author:
   S.Chassande-Barrioz

Inner Class :public class Description extends MatchingTask

Field Summary
protected  Descriptionpersistdesc
    
protected  Filesrc
    


Method Summary
abstract protected  voidaddDtdLocations(ArrayList al)
    
public  PathcreateClasspath()
    
public  DTDLocationcreateDTD()
     Create a DTD location record.
public  DescriptioncreateDescpath()
    
public  MatchingTaskcreateJavac()
    
public  PathcreateJormClasspath()
    
public  DescriptioncreateJormpath()
    
public  DescriptioncreatePersistenceaware()
    
public  voidexecute()
     Main method of the task executed by ant.
public  PathgetClasspath()
    
abstract protected  AbstractEnhancergetEnhancer()
    
public  booleangetGenerateJormFile()
    
public  PathgetJormClasspath()
    
public  voidinit()
    
abstract protected  voidinitDefaultDescPath()
    
public  voidsetClasspath(Path cp)
    
public  voidsetClasspathRef(Reference r)
    
public  voidsetConfFile(File confFile)
    
public  voidsetGenerateJormFile(boolean val)
    
public  voidsetInput(File intput)
    
public  voidsetJormClasspath(Path cp)
    
public  voidsetJormClasspathRef(Reference r)
    
public  voidsetKeepsrc(boolean keepsrc)
    
public  voidsetLogPropFile(File logPropFile)
    
public  voidsetMappername(String mapperName)
    
public  voidsetOutput(File output)
    
public  voidsetProjectname(String projectName)
    
public  voidsetSrc(File src)
    

Field Detail
persistdesc
protected Description persistdesc(Code)



src
protected File src(Code)





Method Detail
addDtdLocations
abstract protected void addDtdLocations(ArrayList al)(Code)



createClasspath
public Path createClasspath()(Code)



createDTD
public DTDLocation createDTD()(Code)
Create a DTD location record. This stores the location of a DTD. The DTD is identified by its public Id. The location may either be a file location or a resource location. the DTD location object to be configured by Ant



createDescpath
public Description createDescpath()(Code)



createJavac
public MatchingTask createJavac()(Code)



createJormClasspath
public Path createJormClasspath()(Code)



createJormpath
public Description createJormpath()(Code)



createPersistenceaware
public Description createPersistenceaware()(Code)



execute
public void execute() throws BuildException(Code)
Main method of the task executed by ant. Parses xml parameters, loads AntSpeedoExec with its own loader



getClasspath
public Path getClasspath()(Code)



getEnhancer
abstract protected AbstractEnhancer getEnhancer()(Code)



getGenerateJormFile
public boolean getGenerateJormFile()(Code)



getJormClasspath
public Path getJormClasspath()(Code)



init
public void init() throws BuildException(Code)



initDefaultDescPath
abstract protected void initDefaultDescPath()(Code)



setClasspath
public void setClasspath(Path cp)(Code)



setClasspathRef
public void setClasspathRef(Reference r)(Code)



setConfFile
public void setConfFile(File confFile)(Code)



setGenerateJormFile
public void setGenerateJormFile(boolean val)(Code)



setInput
public void setInput(File intput)(Code)



setJormClasspath
public void setJormClasspath(Path cp)(Code)



setJormClasspathRef
public void setJormClasspathRef(Reference r)(Code)



setKeepsrc
public void setKeepsrc(boolean keepsrc)(Code)



setLogPropFile
public void setLogPropFile(File logPropFile)(Code)



setMappername
public void setMappername(String mapperName)(Code)



setOutput
public void setOutput(File output)(Code)



setProjectname
public void setProjectname(String projectName)(Code)



setSrc
public void setSrc(File src)(Code)



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