All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.resources.VirtualHostResource

java.lang.Object
   |
   +----org.w3c.tools.resources.AttributeHolder
           |
           +----org.w3c.tools.resources.Resource
                   |
                   +----org.w3c.tools.resources.FramedResource
                           |
                           +----org.w3c.tools.resources.AbstractContainer
                                   |
                                   +----org.w3c.tools.resources.ContainerResource
                                           |
                                           +----org.w3c.jigsaw.resources.VirtualHostResource

public class VirtualHostResource
extends ContainerResource

Constructor Index

 o VirtualHostResource()

Method Index

 o updateDefaultChildAttributes(Hashtable)
Update default child attributes.

Constructors

 o VirtualHostResource
 public VirtualHostResource()

Methods

 o updateDefaultChildAttributes
 protected ResourceContext updateDefaultChildAttributes(Hashtable attrs)
Update default child attributes. A parent can often pass default attribute values to its children, such as a pointer to itself (the parent attribute).

This is the method to overide when you want your container to provide these kinds of attributes. By default this method will set the following attributes:

name
The name of the child (it's identifier) - String instance.
parent
The parent of the child (ie ourself here) - a ContainerResource instance.
url
If a identifier attribute is defined, that attribute is set to the full URL path of the children.

Overrides:
updateDefaultChildAttributes in class ContainerResource

All Packages  Class Hierarchy  This Package  Previous  Next  Index