| 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 |
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. |
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. |
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. |
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 |
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. |
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. |
|
|