Java Doc for Specification.java in  » Build » ANT » org » apache » tools » ant » taskdefs » optional » extension » 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 » Build » ANT » org.apache.tools.ant.taskdefs.optional.extension 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.tools.ant.taskdefs.optional.extension.Specification

Specification
final public class Specification (Code)

Utility class that represents either an available "Optional Package" (formerly known as "Standard Extension") as described in the manifest of a JAR file, or the requirement for such an optional package.

For more information about optional packages, see the document Optional Package Versioning in the documentation bundle for your Java2 Standard Edition package, in file guide/extensions/versioning.html.



Field Summary
final public static  CompatibilityCOMPATIBLE
     Enum indicating that extension is compatible with other Package Specification.
final public static  Attributes.NameIMPLEMENTATION_TITLE
     Manifest Attribute Name object for IMPLEMENTATION_TITLE.
final public static  Attributes.NameIMPLEMENTATION_VENDOR
     Manifest Attribute Name object for IMPLEMENTATION_VENDOR.
final public static  Attributes.NameIMPLEMENTATION_VERSION
     Manifest Attribute Name object for IMPLEMENTATION_VERSION.
final public static  CompatibilityINCOMPATIBLE
     This enum indicates that an extension is incompatible with other Package Specification in ways other than other enums indicate.
final public static  CompatibilityREQUIRE_IMPLEMENTATION_CHANGE
     Enum indicating that extension requires an upgrade of implementation to be compatible with other Package Specification.
final public static  CompatibilityREQUIRE_SPECIFICATION_UPGRADE
     Enum indicating that extension requires an upgrade of specification to be compatible with other Package Specification.
final public static  CompatibilityREQUIRE_VENDOR_SWITCH
     Enum indicating that extension requires a vendor switch to be compatible with other Package Specification.
final public static  Attributes.NameSPECIFICATION_TITLE
     Manifest Attribute Name object for SPECIFICATION_TITLE.
final public static  Attributes.NameSPECIFICATION_VENDOR
     Manifest Attribute Name object for SPECIFICATION_VENDOR.
final public static  Attributes.NameSPECIFICATION_VERSION
     Manifest Attribute Name object for SPECIFICATION_VERSION.

Constructor Summary
public  Specification(String specificationTitle, String specificationVersion, String specificationVendor, String implementationTitle, String implementationVersion, String implementationVendor)
     The constructor to create Package Specification object.
public  Specification(String specificationTitle, String specificationVersion, String specificationVendor, String implementationTitle, String implementationVersion, String implementationVendor, String[] sections)
     The constructor to create Package Specification object.

Method Summary
public  CompatibilitygetCompatibilityWith(Specification other)
     Return a Compatibility enum indicating the relationship of this Package Specification with the specified Extension.
public  StringgetImplementationTitle()
     Get the title of the specification.
public  StringgetImplementationVendor()
     Get the vendor of the extensions implementation.
public  StringgetImplementationVersion()
     Get the version of the implementation.
public  String[]getSections()
     Return an array containing sections to which specification applies or null if relevent to no sections.
public  StringgetSpecificationTitle()
     Get the title of the specification.
public  StringgetSpecificationVendor()
     Get the vendor of the specification.
public  DeweyDecimalgetSpecificationVersion()
     Get the version of the specification.
public static  Specification[]getSpecifications(Manifest manifest)
     Return an array of Package Specification objects.
public  booleanisCompatibleWith(Specification other)
     Return true if the specified package is satisfied by this Specification.
public  StringtoString()
     Return a String representation of this object.

Field Detail
COMPATIBLE
final public static Compatibility COMPATIBLE(Code)
Enum indicating that extension is compatible with other Package Specification.



IMPLEMENTATION_TITLE
final public static Attributes.Name IMPLEMENTATION_TITLE(Code)
Manifest Attribute Name object for IMPLEMENTATION_TITLE.



IMPLEMENTATION_VENDOR
final public static Attributes.Name IMPLEMENTATION_VENDOR(Code)
Manifest Attribute Name object for IMPLEMENTATION_VENDOR.



IMPLEMENTATION_VERSION
final public static Attributes.Name IMPLEMENTATION_VERSION(Code)
Manifest Attribute Name object for IMPLEMENTATION_VERSION.



INCOMPATIBLE
final public static Compatibility INCOMPATIBLE(Code)
This enum indicates that an extension is incompatible with other Package Specification in ways other than other enums indicate. For example, the other Package Specification may have a different ID.



REQUIRE_IMPLEMENTATION_CHANGE
final public static Compatibility REQUIRE_IMPLEMENTATION_CHANGE(Code)
Enum indicating that extension requires an upgrade of implementation to be compatible with other Package Specification.



REQUIRE_SPECIFICATION_UPGRADE
final public static Compatibility REQUIRE_SPECIFICATION_UPGRADE(Code)
Enum indicating that extension requires an upgrade of specification to be compatible with other Package Specification.



REQUIRE_VENDOR_SWITCH
final public static Compatibility REQUIRE_VENDOR_SWITCH(Code)
Enum indicating that extension requires a vendor switch to be compatible with other Package Specification.



SPECIFICATION_TITLE
final public static Attributes.Name SPECIFICATION_TITLE(Code)
Manifest Attribute Name object for SPECIFICATION_TITLE.



SPECIFICATION_VENDOR
final public static Attributes.Name SPECIFICATION_VENDOR(Code)
Manifest Attribute Name object for SPECIFICATION_VENDOR.



SPECIFICATION_VERSION
final public static Attributes.Name SPECIFICATION_VERSION(Code)
Manifest Attribute Name object for SPECIFICATION_VERSION.




Constructor Detail
Specification
public Specification(String specificationTitle, String specificationVersion, String specificationVendor, String implementationTitle, String implementationVersion, String implementationVendor)(Code)
The constructor to create Package Specification object. Note that every component is allowed to be specified but only the specificationTitle is mandatory.
Parameters:
  specificationTitle - the name of specification.
Parameters:
  specificationVersion - the specification Version.
Parameters:
  specificationVendor - the specification Vendor.
Parameters:
  implementationTitle - the title of implementation.
Parameters:
  implementationVersion - the implementation Version.
Parameters:
  implementationVendor - the implementation Vendor.



Specification
public Specification(String specificationTitle, String specificationVersion, String specificationVendor, String implementationTitle, String implementationVersion, String implementationVendor, String[] sections)(Code)
The constructor to create Package Specification object. Note that every component is allowed to be specified but only the specificationTitle is mandatory.
Parameters:
  specificationTitle - the name of specification.
Parameters:
  specificationVersion - the specification Version.
Parameters:
  specificationVendor - the specification Vendor.
Parameters:
  implementationTitle - the title of implementation.
Parameters:
  implementationVersion - the implementation Version.
Parameters:
  implementationVendor - the implementation Vendor.
Parameters:
  sections - the sections/packages that Specification applies to.




Method Detail
getCompatibilityWith
public Compatibility getCompatibilityWith(Specification other)(Code)
Return a Compatibility enum indicating the relationship of this Package Specification with the specified Extension.
Parameters:
  other - the other specification the enum indicating the compatibility (or lack thereof)of specifed Package Specification



getImplementationTitle
public String getImplementationTitle()(Code)
Get the title of the specification. the title of the specification.



getImplementationVendor
public String getImplementationVendor()(Code)
Get the vendor of the extensions implementation. the vendor of the extensions implementation.



getImplementationVersion
public String getImplementationVersion()(Code)
Get the version of the implementation. the version of the implementation.



getSections
public String[] getSections()(Code)
Return an array containing sections to which specification applies or null if relevent to no sections. an array containing sections to which specification appliesor null if relevent to no sections.



getSpecificationTitle
public String getSpecificationTitle()(Code)
Get the title of the specification. the title of speciication



getSpecificationVendor
public String getSpecificationVendor()(Code)
Get the vendor of the specification. the vendor of the specification.



getSpecificationVersion
public DeweyDecimal getSpecificationVersion()(Code)
Get the version of the specification. the version of the specification.



getSpecifications
public static Specification[] getSpecifications(Manifest manifest) throws ParseException(Code)
Return an array of Package Specification objects. If there are no such optional packages, a zero-length array is returned.
Parameters:
  manifest - Manifest to be parsed the Package Specifications extensions in specified manifest
throws:
  ParseException - if the attributes of the specifications cannotbe parsed according to their expected formats.



isCompatibleWith
public boolean isCompatibleWith(Specification other)(Code)
Return true if the specified package is satisfied by this Specification. Otherwise, return false.
Parameters:
  other - the specification true if the specification is compatible with this specification



toString
public String toString()(Code)
Return a String representation of this object. string representation of object.



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)

w__ww___.j_a_v___a___2s___.co__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.