Java Doc for RemoteResource.java in  » Web-Server » Jigsaw » org » w3c » jigsaw » admin » 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 » Web Server » Jigsaw » org.w3c.jigsaw.admin 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.w3c.jigsaw.admin.RemoteResource

All known Subclasses:   org.w3c.jigsaw.admin.PlainRemoteResource,
RemoteResource
public interface RemoteResource (Code)
The client side view of a server-side resource. The whole servers state are exported through resources, which allows the administration application to discover and query it using a homogeneous interface. All methods will throw a RemoteAccessException in case of network failure.
See Also:   ResourceBroker




Method Summary
public  voiddelete()
     Delete that resource, and detach it from its container.
public  String[]enumerateResourceIdentifiers()
    
public  AttributeDescription[]getAttributes()
     Get the target resource list of attributes. This method returns the target resource attributes description.
public  String[]getClassHierarchy()
     Get the target resource class hierarchy. This method will return the class hierarchy as an array of String.
public  RemoteResource[]getFrames()
     Get the frames attached to that resource.
public  ObjectgetValue(String attr)
    
public  Object[]getValues(String attrs)
    
Parameters:
  attrs - The (ordered) set of attributes whose value is to befetched.
public  booleanisContainer()
    
public  booleanisDirectoryResource()
    
public  booleanisFrame()
    
public  booleanisFramed()
    
public  booleanisIndexersCatalog()
    
public  RemoteResourceloadResource(String identifier)
    
public  RemoteResourceregisterFrame(String identifier, String classname)
     Attach a new frame to that resource.
Parameters:
  identifier - The name for this frame (if any).
Parameters:
  clsname - The name of the frame's class.
public  RemoteResourceregisterResource(String id, String classname)
     Register a new resource within this container.
public  voidreindex(boolean rec)
     Reindex the resource's children if this resource is a DirectoryResource.
public  voidsetValue(String attr, Object value)
    
public  voidsetValues(String attrs, Object values)
     Set a set of attribute values in one shot.
public  voidunregisterFrame(RemoteResource frame)
     Unregister a given frame from that resource.
public  voidupdateURL(URL parentURL)
    



Method Detail
delete
public void delete() throws RemoteAccessException(Code)
Delete that resource, and detach it from its container.
exception:
  RemoteAccessException - If somenetwork failure occured.



enumerateResourceIdentifiers
public String[] enumerateResourceIdentifiers() throws RemoteAccessException(Code)

exception:
  RemoteAccessException - If somenetwork failure occured.



getAttributes
public AttributeDescription[] getAttributes() throws RemoteAccessException(Code)
Get the target resource list of attributes. This method returns the target resource attributes description. The resulting array contains instances of the Attribute class, one item per described attributes.

Even though this returns all the attribute resources, only the ones that are advertized as being editable can be set through this interface. An array of Attribute.
exception:
  RemoteAccessException - If somenetwork failure occured.




getClassHierarchy
public String[] getClassHierarchy() throws RemoteAccessException(Code)
Get the target resource class hierarchy. This method will return the class hierarchy as an array of String. The first string in the array is the name of the resource class itself, the last string will always be java.lang.Object. A String array givimg the target resource's class description.
exception:
  RemoteAccessException - If somenetwork failure occured.



getFrames
public RemoteResource[] getFrames() throws RemoteAccessException(Code)
Get the frames attached to that resource. Each frame is itself a resource, so it is returned as an instance of a remote resource. A (posssibly null) array of frames attachedto that resource.
exception:
  RemoteAccessException - if a remote access error occurs.



getValue
public Object getValue(String attr) throws RemoteAccessException(Code)

Parameters:
  name - The attribute whose value is to be fetched, encoded asits name.
exception:
  RemoteAccessException - If somenetwork failure occured.



getValues
public Object[] getValues(String attrs) throws RemoteAccessException(Code)

Parameters:
  attrs - The (ordered) set of attributes whose value is to befetched. An (ordered) set of values, one per queried attribute.
exception:
  RemoteAccessException - If somenetwork failure occured.



isContainer
public boolean isContainer() throws RemoteAccessException(Code)

exception:
  RemoteAccessException - If somenetwork failure occured.



isDirectoryResource
public boolean isDirectoryResource() throws RemoteAccessException(Code)



isFrame
public boolean isFrame()(Code)



isFramed
public boolean isFramed() throws RemoteAccessException(Code)
Is this resource a framed resource ? A boolean, true if the resource is framedand it currently has some frames attached, falseotherwise.
exception:
  RemoteAccessException - if a remote access error occurs.



isIndexersCatalog
public boolean isIndexersCatalog() throws RemoteAccessException(Code)



loadResource
public RemoteResource loadResource(String identifier) throws RemoteAccessException(Code)

exception:
  RemoteAccessException - If somenetwork failure occured.



registerFrame
public RemoteResource registerFrame(String identifier, String classname) throws RemoteAccessException(Code)
Attach a new frame to that resource.
Parameters:
  identifier - The name for this frame (if any).
Parameters:
  clsname - The name of the frame's class. A remote handle to the (remotely) created frame instance.
exception:
  RemoteAccessException - if a remote access error occurs.



registerResource
public RemoteResource registerResource(String id, String classname) throws RemoteAccessException(Code)
Register a new resource within this container.
Parameters:
  id - The identifier of the resource to be created.
Parameters:
  classname - The name of the class of the resource to be added.
exception:
  RemoteAccessException - if a remote access error occurs.



reindex
public void reindex(boolean rec) throws RemoteAccessException(Code)
Reindex the resource's children if this resource is a DirectoryResource.
Parameters:
  rec - recursivly?
exception:
  RemoteAccessException - If it's not a DirectoryResource



setValue
public void setValue(String attr, Object value) throws RemoteAccessException(Code)

Parameters:
  attr - The attribute to set, encoded as it's name.
Parameters:
  value - The new value for that attribute.
exception:
  RemoteAccessException - If somenetwork failure occured.



setValues
public void setValues(String attrs, Object values) throws RemoteAccessException(Code)
Set a set of attribute values in one shot. This method guarantees that either all setting is done, or none of them are.
Parameters:
  attrs - The (ordered) list of attribute to set, encoded as theirnames.
Parameters:
  values - The (ordered) list of values, for each of the aboveattributes.
exception:
  RemoteAccessException - If somenetwork failure occured.



unregisterFrame
public void unregisterFrame(RemoteResource frame) throws RemoteAccessException(Code)
Unregister a given frame from that resource.
Parameters:
  filter - The frame to unregister.
exception:
  RemoteAccessException - if a remote access error occurs.



updateURL
public void updateURL(URL parentURL)(Code)
Is this resource a filtered resource ? A boolean, true if the resource is filteredand it currently has some filters attached, falseotherwise.



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