Source Code Cross Referenced for RegistryElementDescriptor.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » javax » media » jai » 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 » 6.0 JDK Modules » Java Advanced Imaging » javax.media.jai 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * $RCSfile: RegistryElementDescriptor.java,v $
003:         *
004:         * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
005:         *
006:         * Use is subject to license terms.
007:         *
008:         * $Revision: 1.1 $
009:         * $Date: 2005/02/11 04:57:19 $
010:         * $State: Exp $
011:         */
012:        package javax.media.jai;
013:
014:        /**
015:         * An interface for all JAI descriptors that register themselves
016:         * with the <code>OperationRegistry</code>. Examples include
017:         * <code>OperationDescriptor</code>, <code>TileCodecDescriptor</code>,
018:         * <code>RemoteDescriptor</code> etc.
019:         *
020:         * @see OperationRegistry
021:         * @see RegistryMode
022:         *
023:         * @since JAI 1.1
024:         */
025:        public interface RegistryElementDescriptor {
026:
027:            /**
028:             * The name this descriptor will be registered under in the
029:             * <code>OperationRegistry</code>. Individual descriptors
030:             * implementing this interface will define what this name means
031:             * in their space. For example this would be "operation name" for
032:             * <code>OperationDescriptor</code> and "format name" for
033:             * <code>TileCodecDescriptor</code> etc. The descriptor
034:             * names are to be treated in a case-insensitive (but retentive) manner.
035:             */
036:            String getName();
037:
038:            /**
039:             * The registry modes supported by this descriptor. Known modes
040:             * include those returned by <code>RegistryMode.getModes()</code>.
041:             *
042:             * @return an array of <code>String</code>s specifying the supported modes.
043:             *
044:             * @see RegistryMode
045:             */
046:            String[] getSupportedModes();
047:
048:            /**
049:             * Whether this descriptor supports the specified registry mode.
050:             * The <code>modeName</code>s are to be treated in a case-insensitive
051:             * (but retentive) manner.
052:             *
053:             * @param modeName the registry mode name
054:             *
055:             * @return true, if the implementation of this descriptor supports
056:             *	       the specified mode. false otherwise.
057:             *
058:             * @throws IllegalArgumentException if <code>modeName</code> is null
059:             */
060:            boolean isModeSupported(String modeName);
061:
062:            /**
063:             * Whether this descriptor supports JAI properties.
064:             *
065:             * @return <code>true</code>, if the implementation of this descriptor
066:             *	       supports JAI properties. <code>false</code> otherwise.
067:             *
068:             * @see PropertyGenerator
069:             */
070:            boolean arePropertiesSupported();
071:
072:            /**
073:             * Returns an array of <code>PropertyGenerator</code>s implementing
074:             * the property inheritance for this descriptor.  They may be used
075:             * as a basis for the descriptor's property management.
076:             *
077:             * @param modeName the registry mode name
078:             *
079:             * @return  An array of <code>PropertyGenerator</code>s, or
080:             *          <code>null</code> if this operation does not have any of
081:             *          its own <code>PropertyGenerator</code>s.
082:             *
083:             * @throws IllegalArgumentException if <code>modeName</code> is null
084:             *		or if it is not one of the supported modes.
085:             * @throws UnsupportedOperationException if <code>arePropertiesSupported()</code>
086:             *		returns <code>false</code>
087:             */
088:            PropertyGenerator[] getPropertyGenerators(String modeName);
089:
090:            /**
091:             * Returns the <code>ParameterListDescriptor</code> that describes
092:             * the associated parameters (<u>not</u> sources). This method returns
093:             * null if the specified modeName does not support parameters.
094:             * If the specified modeName supports parameters but the
095:             * implementing class does not have parameters, then this method
096:             * returns a non-null <code>ParameterListDescriptor</code> whose
097:             * <code>getNumParameters()</code> returns 0.
098:             *
099:             * @param modeName the registry mode name.
100:             *
101:             * @throws IllegalArgumentException if <code>modeName</code> is null
102:             *		or if it is not one of the supported modes.
103:             */
104:            ParameterListDescriptor getParameterListDescriptor(String modeName);
105:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.