org.w3c.jigsaw.http
Class ConfigResource
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.jigsaw.http.ConfigResource
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.EventListener, ContainerInterface, AttributeChangedListener, FrameEventListener, StructureChangedListener
public class ConfigResource
- extends AbstractContainer
Methods inherited from class org.w3c.tools.resources.FramedResource |
addAttributeChangedListener, addStructureChangedListener, collectFramesReference, delete, disableEvent, displayEvent, enableEvent, eventDisabled, fireAttributeChangeEvent, fireStructureChangedEvent, fireStructureChangedEvent, frameAdded, frameModified, frameRemoved, getClone, getFrame, getFrame, getFrameReference, getFrameReference, getFramesReference, getOid, initialize, lookup, markModified, notifyUnload, perform, performFrames, postAttributeChangeEvent, postEvent, postStructureChangedEvent, postStructureChangedEvent, processEvent, registerFrame, registerFrameIfNone, removeAttributeChangedListener, removeStructureChangedListener, setSilentValue, setSilentValue, setValue, unregisterFrame |
Methods inherited from class org.w3c.tools.resources.Resource |
acceptUnload, checkMultipleLock, collectFrames, getContext, getFrame, getFrames, getHelpURL, getHelpURL, getIdentifier, getLastModified, getParent, getResourceReference, getServer, getSpace, getSpaceEntry, getStoreEntry, getURLPath, getValue, getValue, initialize, isInitialized, isUnloaded, pickleValues, setContext, setContext, setValue, unsafeGetContext, unsafeGetFrame, unsafeGetFrames, unsafeGetIdentifier, unsafeGetResourceReference, unsafeGetURLPath, unsafeGetValue, updateAttributes |
Methods inherited from class org.w3c.tools.resources.AttributeHolder |
definesAttribute, definesAttribute, getAttributes, getBoolean, getChar, getClone, getClone, getDouble, getFloat, getInt, getLong, getString, getValue, lookupAttribute, print, setBoolean, setChar, setDouble, setFloat, setInt, setLong, setString, setValue, unsafeDefinesAttribute, unsafeGetDouble, unsafeGetString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPACE_NAME
public static final java.lang.String SPACE_NAME
- See Also:
- Constant Field Values
server
protected httpd server
propConfig
protected ResourceReference propConfig
realmConfig
protected ResourceReference realmConfig
controlConfig
protected ResourceReference controlConfig
indexers
protected ResourceReference indexers
ConfigResource
public ConfigResource(httpd server)
registerResource
public void registerResource(java.lang.String n,
Resource c,
java.util.Hashtable d)
- Description copied from class:
AbstractContainer
- Initialize and register the given resource within that container.
- Specified by:
registerResource
in interface ContainerInterface
- Specified by:
registerResource
in class AbstractContainer
- Parameters:
n
- The identifier for the resource.c
- An unitialized resource instance.d
- A default set of init attribute values (may be
null).
createDefaultResource
public ResourceReference createDefaultResource(java.lang.String name)
- Description copied from class:
AbstractContainer
- Create a default child resource in that container.
This method is called by the editor to add a default resource
in the container under the given name. The meaning of default
is left up to the container here.
- Specified by:
createDefaultResource
in class AbstractContainer
- Parameters:
name
- The identifier for the new resource.
delete
public void delete(java.lang.String name)
- Description copied from class:
AbstractContainer
- Remove a child resource from that container.
- Specified by:
delete
in interface ContainerInterface
- Specified by:
delete
in class AbstractContainer
- Parameters:
name
- The name of the child to remove.
enumerateResourceIdentifiers
public java.util.Enumeration enumerateResourceIdentifiers(boolean all)
- Description copied from class:
AbstractContainer
- Enumerate children resource identifiers.
- Specified by:
enumerateResourceIdentifiers
in interface ContainerInterface
- Specified by:
enumerateResourceIdentifiers
in class AbstractContainer
- Parameters:
all
- Should all resources be enumerated ? Resources are often
created on demand only, this flag allows the caller to tell the
container about wether it is interested only in already created
resources, or in all resources (even the one that have not yet been
created).
- Returns:
- An String enumeration, one element per child.
lookup
public ResourceReference lookup(java.lang.String name)
- Description copied from class:
AbstractContainer
- Lookup a children in the container.
- Specified by:
lookup
in interface ContainerInterface
- Specified by:
lookup
in class AbstractContainer
- Parameters:
name
- The name of the children to lookup.
the resource from its store.