Java Doc for RegistryMode.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 Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.jai.RegistryMode

All known Subclasses:   javax.media.jai.registry.RemoteRenderableRegistryMode,  javax.media.jai.registry.CollectionRegistryMode,  javax.media.jai.registry.TileDecoderRegistryMode,  javax.media.jai.registry.RenderableRegistryMode,  javax.media.jai.registry.RenderableCollectionRegistryMode,  javax.media.jai.registry.RemoteRenderedRegistryMode,  javax.media.jai.registry.TileEncoderRegistryMode,  javax.media.jai.registry.RenderedRegistryMode,
RegistryMode
public class RegistryMode (Code)
A class which provides information about a registry mode. The static methods of the class act to maintain a global list of known modes. All RegistryModes known to JAI are added to this list when this class is loaded. The RegistryModes installed by JAI cannot be replaced or removed. The Strings used to represent the registry modes are all used in a case-insensitive manner.
since:
   JAI 1.1



Constructor Summary
protected  RegistryMode(String name, Class descriptorClass, Class productClass, Method factoryMethod, boolean arePreferencesSupported, boolean arePropertiesSupported)
     Constructor.

Method Summary
public static synchronized  booleanaddMode(RegistryMode mode)
     Adds a new RegistryMode to the existing list.
final public  booleanarePreferencesSupported()
    
final public  booleanarePropertiesSupported()
    
final public  ClassgetDescriptorClass()
     Returns the descriptor class that corresponds to this registry mode. For eg.
public static synchronized  SetgetDescriptorClasses()
     Get a Set of all descriptor classes over all registry modes.
final public  ClassgetFactoryClass()
    
final public  MethodgetFactoryMethod()
    
public static  RegistryModegetMode(String name)
     Get the registry mode corresponding to this name.
public static synchronized  String[]getModeNames()
     Get the list of the known registry mode names.
public static synchronized  String[]getModeNames(Class descriptorClass)
     Get a list of all known registry modes associated with the specified descriptorClass.
Parameters:
  descriptorClass - a Class null if there are no modes registeredagainst the specified descriptorClass.
final public  StringgetName()
    
final public  ClassgetProductClass()
     The Class of the objects produced by this registry mode.
public static synchronized  booleanremoveMode(String name)
     Removes a mode from the existing list of known registryModes.


Constructor Detail
RegistryMode
protected RegistryMode(String name, Class descriptorClass, Class productClass, Method factoryMethod, boolean arePreferencesSupported, boolean arePropertiesSupported)(Code)
Constructor. Protected access allows only instantiation of subclasses.
Parameters:
  name - name of the registry mode
Parameters:
  descriptorClass - the specific sub-class ofRegistryElementDescriptor associated withthis registry mode.
Parameters:
  productClass - the Class of the objectsproduced by this registry mode. This would typicallybe factoryMethod.getReturnType().
Parameters:
  factoryMethod - the method used to "create" an object.
Parameters:
  arePreferencesSupported - does this registry mode supportpreferences between products or instances of the "modes"
Parameters:
  arePropertiesSupported - do properties have to be managedfor this registry mode.




Method Detail
addMode
public static synchronized boolean addMode(RegistryMode mode)(Code)
Adds a new RegistryMode to the existing list. This succeeds only if the mode is not already present in the list. New RegistryMode names can not clash (in a case insensitive manner) with the ones installed by JAI (done statically when this class is loaded)
Parameters:
  mode - the new RegistryMode to be added to list false if the mode was already in the list. true otherwise



arePreferencesSupported
final public boolean arePreferencesSupported()(Code)
Does this registry mode support preferences ?



arePropertiesSupported
final public boolean arePropertiesSupported()(Code)
Are properties to be managed for this registry mode ?



getDescriptorClass
final public Class getDescriptorClass()(Code)
Returns the descriptor class that corresponds to this registry mode. For eg. this would be OperationDescriptor for rendered, renderable, collection ... and TileCodecDescriptor for tilecodec etc.



getDescriptorClasses
public static synchronized Set getDescriptorClasses()(Code)
Get a Set of all descriptor classes over all registry modes.



getFactoryClass
final public Class getFactoryClass()(Code)
A convenience method which essentially returns getFactoryMethod().getDeclaringClass()



getFactoryMethod
final public Method getFactoryMethod()(Code)
Get the factory method that corresponds to "create"



getMode
public static RegistryMode getMode(String name)(Code)
Get the registry mode corresponding to this name.



getModeNames
public static synchronized String[] getModeNames()(Code)
Get the list of the known registry mode names. null, if there are no registered modes.Otherwise returns an array of Strings of registeredmode names.



getModeNames
public static synchronized String[] getModeNames(Class descriptorClass)(Code)
Get a list of all known registry modes associated with the specified descriptorClass.
Parameters:
  descriptorClass - a Class null if there are no modes registeredagainst the specified descriptorClass. Otherwise returns anarray of Strings of mode names associated with thedescriptorClass.



getName
final public String getName()(Code)
Get the registry mode name (case-preserved)



getProductClass
final public Class getProductClass()(Code)
The Class of the objects produced by this registry mode.



removeMode
public static synchronized boolean removeMode(String name)(Code)
Removes a mode from the existing list of known registryModes. If the mode is one of the JAI-installed ones, it can not be removed.
Parameters:
  mode - the RegistryMode to be removed from the list false if the mode can not be removed because it was addedby JAI or because the mode was not previously add.returns true otherwise.



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.