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


java.lang.Object
   javax.media.jai.remote.RemoteDescriptorImpl

All known Subclasses:   javax.media.jai.remote.JAIRMIDescriptor,
RemoteDescriptorImpl
abstract public class RemoteDescriptorImpl implements RemoteDescriptor(Code)
This abstract class provides a partial implementation of the RemoteDescriptor interface, and is suitable for subclassing.
See Also:   RemoteDescriptor
since:
   JAI 1.1


Field Summary
protected  StringprotocolName
     The name of the protocol that this descriptor describes.
protected  URLserverNameDocURL
     The URL pointing to the documentation regarding the format of the server name String.

Constructor Summary
public  RemoteDescriptorImpl(String protocolName, URL serverNameDocURL)
     Creates a RemoteDescriptorImpl given the protocol name and the URL that points to documentation regarding the format of the server name String.

Method Summary
public  booleanarePropertiesSupported()
     Returns true, if the implementation of this descriptor supports properties, false otherwise.
public  ObjectgetInvalidRegion(String registryModeName, String oldServerName, ParameterBlock oldParamBlock, RenderingHints oldHints, String newServerName, ParameterBlock newParamBlock, RenderingHints newHints, OperationNode node)
     Calculates the region over which two distinct remote renderings of an operation may be expected to differ.
public  StringgetName()
     Returns the name of the remote imaging protocol under which this RemoteDescriptor will be registered in the OperationRegistry.
public  ParameterListDescriptorgetParameterListDescriptor(String modeName)
     The two modes supported by this descriptor are "remoteRendered" and "remoteRenderable".
public  PropertyGenerator[]getPropertyGenerators(String modeName)
     Returns an array of PropertyGenerators implementing the property inheritance for this descriptor.
public  URLgetServerNameDocs()
     Returns a URL that points to an HTML page containing instructions on constructing a server name string for the protocol with which this class is associated.
public  String[]getSupportedModes()
     The registry modes supported by this descriptor.
public  booleanisModeSupported(String modeName)
     Returns true if the supplied modeName is supported by this descriptor.

Field Detail
protocolName
protected String protocolName(Code)
The name of the protocol that this descriptor describes.



serverNameDocURL
protected URL serverNameDocURL(Code)
The URL pointing to the documentation regarding the format of the server name String.




Constructor Detail
RemoteDescriptorImpl
public RemoteDescriptorImpl(String protocolName, URL serverNameDocURL)(Code)
Creates a RemoteDescriptorImpl given the protocol name and the URL that points to documentation regarding the format of the server name String.

While the serverNameDocURL argument is allowed to be null, this is strongly discouraged, since this URL is the only description available to the user to help with creating a serverName String correctly.
Parameters:
  protocolName - The name of the protocol.
Parameters:
  serverNameDocURL - The URL pointing to server nameformat documentation.
throws:
  IllegalArgumentException - if protocolName is null.





Method Detail
arePropertiesSupported
public boolean arePropertiesSupported()(Code)
Returns true, if the implementation of this descriptor supports properties, false otherwise. The default implementation in this class returns false, signifying that no properties are supported independent of the operations themselves.
See Also:   PropertyGenerator



getInvalidRegion
public Object getInvalidRegion(String registryModeName, String oldServerName, ParameterBlock oldParamBlock, RenderingHints oldHints, String newServerName, ParameterBlock newParamBlock, RenderingHints newHints, OperationNode node) throws RemoteImagingException(Code)
Calculates the region over which two distinct remote renderings of an operation may be expected to differ. The operation is represented by the OperationNode argument to this method. The String that identifies the operation can be retrieved via the OperationNode's getOperationName() method.

The class of the returned object will vary as a function of the nature of the operation. For rendered and renderable two- dimensional images this should be an instance of a class which implements java.awt.Shape.

The implementation in this class always returns null as the invalid region signifying that there is no common region of validity. Since null is always returned, in the interests of efficiency, none of the checks for ensuring that the ParameterBlock arguments passed to this method contain the correct number and Class of sources and parameters are performed in this implementation.
Parameters:
  registryModeName - The name of the mode.
Parameters:
  oldServerName - The previous server name.
Parameters:
  oldParamBlock - The previous sources and parameters.
Parameters:
  oldHints - The previous hints.
Parameters:
  newServerName - The current server name.
Parameters:
  newParamBlock - The current sources and parameters.
Parameters:
  newHints - The current hints.
Parameters:
  node - The affected node in the processing chain. The region over which the data of two renderings of thisoperation may be expected to be invalid or nullif there is no common region of validity. If an emptyjava.awt.Shape is returned, this indicatesthat all pixels within the bounds of the old renderingremain valid.
throws:
  IllegalArgumentException - if registryModeNameis null or if the operation requires eithersources or parameters and either oldParamBlockor newParamBlock is null.
throws:
  IllegalArgumentException - if there is no OperationDescriptorfor the specified operationName on any one or both of theservers identified by oldServerName andnewServerName, or if the number of sources orthe name, number and Class of the operation'sparameters is not the same on both the servers.
throws:
  IllegalArgumentException - if oldParamBlock ornewParamBlock do not contain sufficient sourcesor parameters for the operation in question.




getName
public String getName()(Code)
Returns the name of the remote imaging protocol under which this RemoteDescriptor will be registered in the OperationRegistry.



getParameterListDescriptor
public ParameterListDescriptor getParameterListDescriptor(String modeName)(Code)
The two modes supported by this descriptor are "remoteRendered" and "remoteRenderable". Since neither of these modes supports any parameters, this default implementation always returns null.
Parameters:
  modeName - The mode name to get the ParameterListDescriptor for.
throws:
  IllegalArgumentException - if modeName is null.



getPropertyGenerators
public PropertyGenerator[] getPropertyGenerators(String modeName)(Code)
Returns an array of PropertyGenerators implementing the property inheritance for this descriptor. Since neither the "remoteRendered" or "remoteRendered" modes support properties independent of the operations themselves, the default implementation throws an UnsupportedOperationException. Subclasses should override this method if they wish to produce inherited properties.
Parameters:
  modeName - The mode name to get PropertyGeneratorsfor.
throws:
  IllegalArgumentException - if modeName is null.
throws:
  UnsupportedOperationException - ifarePropertiesSupported() returns false An array of PropertyGenerators, ornull if this operation does not have any ofits own PropertyGenerators.



getServerNameDocs
public URL getServerNameDocs()(Code)
Returns a URL that points to an HTML page containing instructions on constructing a server name string for the protocol with which this class is associated.



getSupportedModes
public String[] getSupportedModes()(Code)
The registry modes supported by this descriptor. The default implementation in this class returns two modes - "remoteRendered" and "remoteRenderable". If the subclass does not support both these modes it should override this method to reflect that.
See Also:   javax.media.jai.RegistryMode



isModeSupported
public boolean isModeSupported(String modeName)(Code)
Returns true if the supplied modeName is supported by this descriptor. The default implementation in this class returns true only if the supplied modeName is one of either "remoteRendered" or "remoteRenderable".
Parameters:
  modeName - The mode name to check support for. true, if the implementation of this descriptor supportsthe specified mode. false otherwise.
throws:
  IllegalArgumentException - if modeName is null.



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.